public class IdempotentRedeliveryPolicy extends AbstractRedeliveryPolicy
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
deadLetterQueue, flowConstruct, maxRedeliveryCount, REDELIVERY_FAIL_ON_FIRSTmuleContext, next, notificationHandlerPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
IdempotentRedeliveryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
AtomicInteger |
findCounter(String messageId) |
String |
getIdExpression() |
String |
getMessageDigestAlgorithm() |
void |
initialise()
Method used to perform any initialisation work.
|
boolean |
isUseSecureHash() |
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
void |
setIdExpression(String idExpression) |
void |
setMessageDigestAlgorithm(String messageDigestAlgorithm) |
void |
setMessageProcessor(MessageProcessor processor) |
void |
setUseSecureHash(boolean useSecureHash) |
void |
start() |
getMaxRedeliveryCount, getTheFailedMessageProcessor, setDeadLetterQueue, setFlowConstruct, setMaxRedeliveryCount, setMessagingExceptionHandler, setMuleContext, stopaddMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerpublic void initialise()
throws InitialisationException
InitialisableInitialisationException 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 Initialisableinitialise in class AbstractRedeliveryPolicyInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered frompublic void dispose()
Disposabledispose in interface Disposabledispose in class AbstractRedeliveryPolicypublic void start()
throws MuleException
start in interface Startablestart in class AbstractRedeliveryPolicyMuleExceptionpublic MuleEvent process(MuleEvent event) throws MuleException
MessageProcessorevent - MuleEvent to be processedMuleExceptionpublic AtomicInteger findCounter(String messageId) throws ObjectStoreException
ObjectStoreExceptionpublic boolean isUseSecureHash()
public void setUseSecureHash(boolean useSecureHash)
public String getMessageDigestAlgorithm()
public void setMessageDigestAlgorithm(String messageDigestAlgorithm)
public String getIdExpression()
public void setIdExpression(String idExpression)
public void setMessageProcessor(MessageProcessor processor)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.