org.mule.exception
Class RollbackMessagingExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
          extended by org.mule.exception.AbstractExceptionListener
              extended by org.mule.exception.TemplateMessagingExceptionStrategy
                  extended by org.mule.exception.RollbackMessagingExceptionStrategy
All Implemented Interfaces:
Acceptor, AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, MessagingExceptionHandlerAcceptor, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class RollbackMessagingExceptionStrategy
extends TemplateMessagingExceptionStrategy


Field Summary
 
Fields inherited from class org.mule.exception.AbstractExceptionListener
commitTxFilter, enableNotifications, initialised, logger, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
RollbackMessagingExceptionStrategy()
           
 
Method Summary
protected  MuleEvent beforeRouting(Exception exception, MuleEvent event)
           
 Integer getMaxRedeliveryAttempts()
           
protected  List<MessageProcessor> getOwnedMessageProcessors()
           
 boolean hasMaxRedeliveryAttempts()
           
protected  void processReplyTo(MuleEvent event, Exception e)
           
protected  MuleEvent route(MuleEvent event, Exception t)
           
 void setMaxRedeliveryAttempts(Integer maxRedeliveryAttempts)
           
 void setRedeliveryExceeded(RedeliveryExceeded redeliveryExceeded)
           
 
Methods inherited from class org.mule.exception.TemplateMessagingExceptionStrategy
accept, acceptsAll, afterRouting, doInitialise, handleException, markExceptionAsHandled, nullifyExceptionPayloadIfRequired, setHandleException, setWhen
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, commit, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, rollback, rollbackTransaction, routeException, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
dispose, getFlowConstruct, getMuleContext, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

RollbackMessagingExceptionStrategy

public RollbackMessagingExceptionStrategy()
Method Detail

setRedeliveryExceeded

public void setRedeliveryExceeded(RedeliveryExceeded redeliveryExceeded)

setMaxRedeliveryAttempts

public void setMaxRedeliveryAttempts(Integer maxRedeliveryAttempts)

getMaxRedeliveryAttempts

public Integer getMaxRedeliveryAttempts()

hasMaxRedeliveryAttempts

public boolean hasMaxRedeliveryAttempts()

beforeRouting

protected MuleEvent beforeRouting(Exception exception,
                                  MuleEvent event)
Overrides:
beforeRouting in class TemplateMessagingExceptionStrategy

getOwnedMessageProcessors

protected List<MessageProcessor> getOwnedMessageProcessors()
Overrides:
getOwnedMessageProcessors in class AbstractExceptionListener

route

protected MuleEvent route(MuleEvent event,
                          Exception t)
Overrides:
route in class TemplateMessagingExceptionStrategy

processReplyTo

protected void processReplyTo(MuleEvent event,
                              Exception e)
Overrides:
processReplyTo in class TemplateMessagingExceptionStrategy


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.