org.mule.exception
Class DefaultMessagingExceptionStrategy
java.lang.Object
org.mule.processor.AbstractMessageProcessorOwner
org.mule.exception.AbstractExceptionStrategy
org.mule.exception.AbstractMessagingExceptionStrategy
org.mule.exception.DefaultMessagingExceptionStrategy
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable
public class DefaultMessagingExceptionStrategy
- extends AbstractMessagingExceptionStrategy
This is the default exception handler for flows and services. The handler logs errors
and will forward the message and exception to an exception endpoint if one is set
on this Exception strategy. If an endpoint is configured via the
element, a Dead Letter Queue pattern is assumed and so the transaction will commit.
Otherwise, the transaction will rollback, possibly causing the source message to be
redelivered (depends on the transport).
Methods inherited from class org.mule.exception.AbstractExceptionStrategy |
addEndpoint, closeStream, commit, doInitialise, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessagingExceptionStrategy
public DefaultMessagingExceptionStrategy()
- Called by MuleNamespaceHandler for element.
DefaultMessagingExceptionStrategy
public DefaultMessagingExceptionStrategy(MuleContext muleContext)
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.