public abstract class AbstractUntilSuccessfulProcessingStrategy extends Object implements UntilSuccessfulProcessingStrategy, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected MuleContext |
muleContext |
| Constructor and Description |
|---|
AbstractUntilSuccessfulProcessingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Event |
doRoute(Event event,
FlowConstruct flow) |
protected void |
ensureSerializable(org.mule.runtime.api.message.Message message) |
protected UntilSuccessfulConfiguration |
getUntilSuccessfulConfiguration() |
protected Event |
processEvent(Event event)
Process the event through the configured route in the until-successful configuration.
|
protected Event |
processResponseThroughAckResponseExpression(Event event) |
Event |
route(Event event,
FlowConstruct flow) |
void |
setMuleContext(MuleContext muleContext) |
void |
setUntilSuccessfulConfiguration(UntilSuccessfulConfiguration untilSuccessfulConfiguration) |
protected MuleContext muleContext
public AbstractUntilSuccessfulProcessingStrategy()
public void setUntilSuccessfulConfiguration(UntilSuccessfulConfiguration untilSuccessfulConfiguration)
setUntilSuccessfulConfiguration in interface UntilSuccessfulProcessingStrategyuntilSuccessfulConfiguration - until successful configuration.protected Event processEvent(Event event)
event - the event to process through the until successful inner route.protected Event processResponseThroughAckResponseExpression(Event event)
event - the response event from the until-successful route.protected UntilSuccessfulConfiguration getUntilSuccessfulConfiguration()
public Event route(Event event, FlowConstruct flow) throws org.mule.runtime.api.exception.MuleException
route in interface UntilSuccessfulProcessingStrategyevent - the message to be routed through the until-successful router.MessagingException - exception thrown during until-successful execution.org.mule.runtime.api.exception.MuleExceptionprotected abstract Event doRoute(Event event, FlowConstruct flow) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void ensureSerializable(org.mule.runtime.api.message.Message message)
throws NotSerializableException
NotSerializableExceptionpublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwaremuleContext - the Mule node.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.