public class SynchronousUntilSuccessfulProcessingStrategy extends AbstractUntilSuccessfulProcessingStrategy implements Initialisable
Modifier and Type | Field and Description |
---|---|
protected Log |
logger |
PHASE_NAME
Constructor and Description |
---|
SynchronousUntilSuccessfulProcessingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected MuleEvent |
doRoute(MuleEvent event) |
protected void |
ensureSerializable(MuleMessage message) |
void |
initialise()
Method used to perform any initialisation work.
|
getUntilSuccessfulConfiguration, processEvent, processResponseThroughAckResponseExpression, route, setUntilSuccessfulConfiguration
protected transient Log logger
public SynchronousUntilSuccessfulProcessingStrategy()
protected MuleEvent doRoute(MuleEvent event) throws MessagingException
doRoute
in class AbstractUntilSuccessfulProcessingStrategy
MessagingException
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromprotected void ensureSerializable(MuleMessage message) throws NotSerializableException
ensureSerializable
in class AbstractUntilSuccessfulProcessingStrategy
NotSerializableException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.