org.mule.api.routing
Interface Matchable

All Known Subinterfaces:
MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, TransformingMatchable
All Known Implementing Classes:
AbstractMessageSplitter, AbstractOutboundRouter, AbstractRecipientList, AbstractRoundRobinMessageSplitter, AbstractSequenceRouter, ChainingRouter, ContentBasedRouter, EndpointSelector, ExceptionBasedRouter, ExpressionMessageSplitter, ExpressionRecipientList, FilteringOutboundRouter, FirstSuccessful, ListMessageSplitter, MessageChunkingRouter, MulticastingRouter, OutboundPassThroughRouter, RoundRobin, SequenceRouter, StaticRecipientList, SxcFilteringOutboundRouter, TransformerRouter, UntilSuccessful

public interface Matchable

Enables an artifact to be matched for routing before actually routing to it


Method Summary
 boolean isMatch(MuleMessage message)
          Determines if the event should be processed
 

Method Detail

isMatch

boolean isMatch(MuleMessage message)
                throws MuleException
Determines if the event should be processed

Parameters:
message - the current message to evaluate
Returns:
true if the event should be processed by this router
Throws:
MuleException - if the event cannot be evaluated


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.