public class IdempotentRedeliveryPolicy extends AbstractRedeliveryPolicy
ReactiveProcessor.ProcessingType| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
flowConstruct, maxRedeliveryCount, REDELIVERY_FAIL_ON_FIRSTmuleContext, next| Constructor and Description |
|---|
IdempotentRedeliveryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
AtomicInteger |
findCounter(String messageId) |
String |
getIdExpression() |
String |
getMessageDigestAlgorithm() |
void |
initialise() |
boolean |
isUseSecureHash() |
Event |
process(Event event)
Invokes the MessageProcessor.
|
void |
setIdExpression(String idExpression) |
void |
setMessageDigestAlgorithm(String messageDigestAlgorithm) |
void |
setObjectStore(org.mule.runtime.api.store.ObjectStore<AtomicInteger> store) |
void |
setUseSecureHash(boolean useSecureHash) |
void |
start() |
getMaxRedeliveryCount, setFlowConstruct, setMaxRedeliveryCount, setMessagingExceptionHandler, setMuleContext, stopapplyNext, getListener, getMuleContext, isEventValid, processNext, setListener, toStringgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTypesetListenerpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableinitialise in class AbstractRedeliveryPolicyorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposabledispose in class AbstractRedeliveryPolicypublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startablestart in class AbstractRedeliveryPolicyorg.mule.runtime.api.exception.MuleExceptionpublic Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Processorevent - MuleEvent to be processedorg.mule.runtime.api.exception.MuleExceptionpublic AtomicInteger findCounter(String messageId) throws org.mule.runtime.api.store.ObjectStoreException
org.mule.runtime.api.store.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 setObjectStore(org.mule.runtime.api.store.ObjectStore<AtomicInteger> store)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.