org.mule.routing
Interface UntilSuccessfulConfiguration
- All Known Implementing Classes:
- UntilSuccessful
public interface UntilSuccessfulConfiguration
Configuration required for UntilSuccessful router processing strategy.
getThreadingProfile
ThreadingProfile getThreadingProfile()
- Returns:
- threading profile to executes message processing inside until successful. Always returns a not null value.
getObjectStore
ListableObjectStore<MuleEvent> getObjectStore()
- Returns:
- an ObjectStore to store until successful internal data. Always returns a not null value.
getFailureExpressionFilter
ExpressionFilter getFailureExpressionFilter()
- Returns:
- ExpressionFilter to determine if the message was processed successfully or not. Always returns a not null value.
getRoute
MessageProcessor getRoute()
- Returns:
- the route to which the message should be routed to. Always returns a not null value.
getMuleContext
MuleContext getMuleContext()
- Returns:
- the MuleContext within the until-successful router was defined. Always returns a not null value.
getFlowConstruct
FlowConstruct getFlowConstruct()
- Returns:
- the FlowConstruct within the until-successful router was defined. Always returns a not null value.
getAckExpression
String getAckExpression()
- Returns:
- the expression that will define the returned payload after the until successful route execution.
getSecondsBetweenRetries
long getSecondsBetweenRetries()
- Returns:
- the number of seconds between retries. Default value is 60.
getMaxRetries
int getMaxRetries()
- Returns:
- the number of retries to process the route when failing. Default value is 5.
getDlqMP
MessageProcessor getDlqMP()
- Returns:
- the route to which the message must be sent if the processing fails.
getRouter
MessageProcessor getRouter()
- Returns:
- the until sucessful router instance.
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.