org.mule.test.integration.transaction
Class RollbackRoutingExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMessageProcessorOwner
      extended by org.mule.exception.AbstractExceptionListener
          extended by org.mule.exception.AbstractMessagingExceptionStrategy
              extended by org.mule.test.integration.transaction.RollbackRoutingExceptionStrategy
All Implemented Interfaces:
FlowConstructAware, MuleContextAware, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class RollbackRoutingExceptionStrategy
extends AbstractMessagingExceptionStrategy

Will rollback the transaction in case a RoutingException is encountered.


Field Summary
 
Fields inherited from class org.mule.exception.AbstractExceptionListener
commitTxFilter, enableNotifications, initialised, logger, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMessageProcessorOwner
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
 
Constructor Summary
RollbackRoutingExceptionStrategy()
           
 
Method Summary
 void handleRoutingException(MuleMessage message, MessageProcessor endpoint, Throwable t)
           
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
defaultHandler, handleException, handleLifecycleException, handleMessagingException, handleStandardException, messageFromContextIfAvailable
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, createOutboundRouter, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, logException, logFatal, removeMessageProcessor, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
dispose, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RollbackRoutingExceptionStrategy

public RollbackRoutingExceptionStrategy()
Method Detail

handleRoutingException

public void handleRoutingException(MuleMessage message,
                                   MessageProcessor endpoint,
                                   Throwable t)
Overrides:
handleRoutingException in class AbstractMessagingExceptionStrategy


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