public abstract class MessageProcessorPollingInterceptor extends Object
| Constructor and Description |
|---|
MessageProcessorPollingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public MuleEvent prepareSourceEvent(MuleEvent event) throws MuleException
event - The event that is about to be sentMuleExceptionpublic 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 flowMuleExceptionpublic 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 flowMuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.