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 sentMuleException
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 flowMuleException
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 flowMuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.