public abstract class AbstractRedeliveryPolicy extends AbstractInterceptingMessageProcessor implements Processor, org.mule.runtime.api.lifecycle.Lifecycle, MuleContextAware, FlowConstructAware, MessagingExceptionHandlerAware
ReactiveProcessor.ProcessingType| Modifier and Type | Field and Description |
|---|---|
protected FlowConstruct |
flowConstruct |
protected int |
maxRedeliveryCount |
static int |
REDELIVERY_FAIL_ON_FIRST |
logger, muleContext, next| Constructor and Description |
|---|
AbstractRedeliveryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getMaxRedeliveryCount() |
void |
initialise() |
void |
setFlowConstruct(FlowConstruct flowConstruct) |
void |
setMaxRedeliveryCount(int maxRedeliveryCount) |
void |
setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler) |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
applyNext, getListener, getMuleContext, isEventValid, processNext, setListener, toStringgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTypesetListenerprotected FlowConstruct flowConstruct
protected int maxRedeliveryCount
public static final int REDELIVERY_FAIL_ON_FIRST
public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwaresetFlowConstruct in class AbstractInterceptingMessageProcessorBasepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic int getMaxRedeliveryCount()
public void setMaxRedeliveryCount(int maxRedeliveryCount)
public void setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler)
setMessagingExceptionHandler in interface MessagingExceptionHandlerAwarepublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwaresetMuleContext in class AbstractInterceptingMessageProcessorBasecontext - the Mule node.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.