org.mule.test.integration.transaction
Class RollbackRoutingExceptionStrategy

java.lang.Object
  extended by org.mule.AbstractExceptionListener
      extended by org.mule.DefaultExceptionStrategy
          extended by org.mule.test.integration.transaction.RollbackRoutingExceptionStrategy
All Implemented Interfaces:
ExceptionListener, org.mule.api.context.MuleContextAware, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable

public class RollbackRoutingExceptionStrategy
extends org.mule.DefaultExceptionStrategy

Will rollback the transaction in case a RoutingException is encountered. Typically used with org.mule.routing.outbound.TransactionJoiningRouter and configured on a connector.


Field Summary
 
Fields inherited from class org.mule.AbstractExceptionListener
commitTxFilter, enableNotifications, endpoints, initialised, logger, muleContext, rollbackTxFilter
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
RollbackRoutingExceptionStrategy()
           
 
Method Summary
 void handleRoutingException(org.mule.api.MuleMessage message, org.mule.api.endpoint.ImmutableEndpoint endpoint, Throwable t)
           
 
Methods inherited from class org.mule.DefaultExceptionStrategy
defaultHandler, handleLifecycleException, handleMessagingException, handleStandardException, messageFromContextIfAvailable
 
Methods inherited from class org.mule.AbstractExceptionListener
addEndpoint, closeStream, dispose, doInitialise, exceptionThrown, fireNotification, getCommitTxFilter, getEndpoints, getEndpoints, getErrorMessagePayload, getExceptionType, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, logException, logFatal, removeEndpoint, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setEndpoints, setMuleContext, setRollbackTxFilter
 
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(org.mule.api.MuleMessage message,
                                   org.mule.api.endpoint.ImmutableEndpoint endpoint,
                                   Throwable t)
Overrides:
handleRoutingException in class org.mule.DefaultExceptionStrategy


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.