org.mule.routing
Class AbstractUntilSuccessfulProcessingStrategy
java.lang.Object
org.mule.routing.AbstractUntilSuccessfulProcessingStrategy
- All Implemented Interfaces:
- UntilSuccessfulProcessingStrategy
- Direct Known Subclasses:
- AsynchronousUntilSuccessfulProcessingStrategy, SynchronousUntilSuccessfulProcessingStrategy
public abstract class AbstractUntilSuccessfulProcessingStrategy
- extends Object
- implements UntilSuccessfulProcessingStrategy
Abstract class with common logic for until successful processing strategies.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUntilSuccessfulProcessingStrategy
public AbstractUntilSuccessfulProcessingStrategy()
setUntilSuccessfulConfiguration
public void setUntilSuccessfulConfiguration(UntilSuccessfulConfiguration untilSuccessfulConfiguration)
- Specified by:
setUntilSuccessfulConfiguration
in interface UntilSuccessfulProcessingStrategy
- Parameters:
untilSuccessfulConfiguration
- until successful configuration.
processEvent
protected MuleEvent processEvent(MuleEvent event)
- Process the event through the configured route in the until-successful configuration.
- Parameters:
event
- the event to process through the until successful inner route.
- Returns:
- the response from the route if there's no ack expression. If there's ack expression
then a message with the response event but with a payload defined by the ack expression.
processResponseThroughAckResponseExpression
protected MuleEvent processResponseThroughAckResponseExpression(MuleEvent event)
- Parameters:
event
- the response event from the until-successful route.
- Returns:
- the response message to be sent to the until successful caller.
getUntilSuccessfulConfiguration
protected UntilSuccessfulConfiguration getUntilSuccessfulConfiguration()
- Returns:
- configuration of the until-successful router.
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.