public interface InboundRouter extends Router
InboundRouter
defines an interface for an inbound Message
router. An inbound router is used to control how events are received by a
service. One or more of these routers can be associated with a
InboundRouterCollection implementation.InboundRouterCollection
PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(MuleEvent event)
Determines if the event should be processed by this router.
|
MuleEvent[] |
process(MuleEvent event)
A received MuleEvent is passed to this method for processing.
|
getRouterStatistics, setRouterStatistics
initialise
dispose
MuleEvent[] process(MuleEvent event) throws MessagingException
event
- the event received by the inbound endpoint before it is passed to
the serviceMessagingException
- if an error occurs during processing of the eventboolean isMatch(MuleEvent event) throws MessagingException
event
- the current event to evaluateMessagingException
- if the event cannot be evaluatedSelectiveConsumer
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.