|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.transport.polling.MessageProcessorPollingInterceptor
public abstract class MessageProcessorPollingInterceptor
Extension point for overriding MessageProcessorPolling functionality. This allows to hook on the creation of the event that gets processed as part of the message source evaluation. Users are expected to return instances of this class (or more likely subclasses) when requested via the MessageProcessorPollingOverride methods.
Constructor Summary | |
---|---|
MessageProcessorPollingInterceptor()
|
Method Summary | |
---|---|
void |
postProcessRouting(MuleEvent event)
Post process the event after it was routed to the rest of the flow. |
MuleEvent |
prepareRouting(MuleEvent sourceEvent,
MuleEvent event)
Called after the polling message processor processes the event, but before an event is routed to the rest of the flow. |
MuleEvent |
prepareSourceEvent(MuleEvent event)
Called before sending the event to the message processor that will do poll for events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageProcessorPollingInterceptor()
Method Detail |
---|
public MuleEvent prepareSourceEvent(MuleEvent event) throws MuleException
event
- The event that is about to be sent
MuleException
public MuleEvent prepareRouting(MuleEvent sourceEvent, MuleEvent event) throws MuleException
sourceEvent
- The event that was returned by the polling processorevent
- The event that is about to be sent to the rest of the flow
MuleException
public void postProcessRouting(MuleEvent event) throws MuleException
Implementations should consider the event to be immutable
event
- The event that was routed to the rest of the flow
MuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |