public class RedeliveryExceeded extends Object implements MessageProcessor, FlowConstructAware, Initialisable
PHASE_NAME
Constructor and Description |
---|
RedeliveryExceeded() |
Modifier and Type | Method and Description |
---|---|
List<MessageProcessor> |
getMessageProcessors() |
void |
initialise()
Method used to perform any initialisation work.
|
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
void |
setFlowConstruct(FlowConstruct flowConstruct) |
void |
setMessageProcessors(List<MessageProcessor> processors) |
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 frompublic List<MessageProcessor> getMessageProcessors()
public void setMessageProcessors(List<MessageProcessor> processors)
public MuleEvent process(MuleEvent event) throws MuleException
MessageProcessor
process
in interface MessageProcessor
event
- MuleEvent to be processedMuleException
public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct
in interface FlowConstructAware
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.