org.mule.exception
Class AbstractMessagingExceptionStrategy
java.lang.Object
org.mule.processor.AbstractMessageProcessorOwner
org.mule.exception.AbstractExceptionListener
org.mule.exception.AbstractMessagingExceptionStrategy
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable
- Direct Known Subclasses:
- DefaultServiceExceptionStrategy, QuietExceptionStrategy, RouteableExceptionStrategy
public abstract class AbstractMessagingExceptionStrategy
- extends AbstractExceptionListener
- implements MessagingExceptionHandler
DefaultExceptionStrategy provides a default exception handling
strategy.
| Methods inherited from class org.mule.exception.AbstractExceptionListener |
addEndpoint, closeStream, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, logException, logFatal, removeMessageProcessor, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMessagingExceptionStrategy
public AbstractMessagingExceptionStrategy()
handleException
public MuleEvent handleException(Exception e,
MuleEvent event)
- Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
- Specified by:
handleException in interface MessagingExceptionHandler
- Parameters:
e - which occurredevent - which was being processed when the exception occurred
- Returns:
- new event to route on to the rest of the flow, generally with ExceptionPayload set on the message
doHandleException
protected void doHandleException(Exception e,
MuleEvent event)
defaultHandler
protected void defaultHandler(Throwable t)
- Deprecated. Override doHandleException(Exception e, MuleEvent event) instead
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.