public class ForwardingConsumer extends SelectiveConsumer
ForwardingConsumer
is used to forward an incoming event over
another transport without invoking a service. This can be used to implement a
bridge accross different transports.logger
muleContext
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
ForwardingConsumer() |
Modifier and Type | Method and Description |
---|---|
MuleEvent[] |
process(MuleEvent event)
A received MuleEvent is passed to this method for processing.
|
getFilter, getMessageInfoMapping, isMatch, isTransformFirst, setFilter, setMessageInfoMapping, setTransformFirst
dispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouterStatistics, setRouterStatistics
initialise
dispose
public MuleEvent[] process(MuleEvent event) throws MessagingException
InboundRouter
process
in interface InboundRouter
process
in class SelectiveConsumer
event
- the event received by the inbound endpoint before it is passed to
the serviceMessagingException
- if an error occurs during processing of the eventCopyright © 2003–2013 MuleSource, Inc.. All rights reserved.