public abstract class AbstractUntilSuccessfulProcessingStrategy extends Object implements UntilSuccessfulProcessingStrategy
Constructor and Description |
---|
AbstractUntilSuccessfulProcessingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected abstract MuleEvent |
doRoute(MuleEvent event) |
protected void |
ensureSerializable(MuleMessage message) |
protected UntilSuccessfulConfiguration |
getUntilSuccessfulConfiguration() |
protected MuleEvent |
processEvent(MuleEvent event)
Process the event through the configured route in the until-successful configuration.
|
protected MuleEvent |
processResponseThroughAckResponseExpression(MuleEvent event) |
MuleEvent |
route(MuleEvent event) |
void |
setUntilSuccessfulConfiguration(UntilSuccessfulConfiguration untilSuccessfulConfiguration) |
public AbstractUntilSuccessfulProcessingStrategy()
public void setUntilSuccessfulConfiguration(UntilSuccessfulConfiguration untilSuccessfulConfiguration)
setUntilSuccessfulConfiguration
in interface UntilSuccessfulProcessingStrategy
untilSuccessfulConfiguration
- until successful configuration.protected MuleEvent processEvent(MuleEvent event)
event
- the event to process through the until successful inner route.protected MuleEvent processResponseThroughAckResponseExpression(MuleEvent event)
event
- the response event from the until-successful route.protected UntilSuccessfulConfiguration getUntilSuccessfulConfiguration()
public MuleEvent route(MuleEvent event) throws MessagingException
route
in interface UntilSuccessfulProcessingStrategy
event
- the message to be routed through the until-successful router.MessagingException
- exception thrown during until-successful execution.protected abstract MuleEvent doRoute(MuleEvent event) throws MessagingException
MessagingException
protected void ensureSerializable(MuleMessage message) throws NotSerializableException
NotSerializableException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.