public abstract class AbstractMessagingExceptionStrategy extends AbstractExceptionListener implements MessagingExceptionHandler
commitTxFilter, enableNotifications, globalName, initialised, logException, logger, messageProcessors, NOT_SET, rollbackTxFilter
flowConstruct, messagingExceptionHandler, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
AbstractMessagingExceptionStrategy() |
AbstractMessagingExceptionStrategy(MuleContext muleContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
defaultHandler(Throwable t)
Deprecated.
Override doHandleException(Exception e, MuleEvent event) instead
|
protected void |
doHandleException(Exception ex,
MuleEvent event) |
MuleEvent |
handleException(Exception ex,
MuleEvent event)
Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
|
boolean |
isStopMessageProcessing() |
void |
setStopMessageProcessing(boolean stopMessageProcessing) |
protected void |
stopFlow(FlowConstruct flow) |
addEndpoint, closeStream, commit, doInitialise, doLogException, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getGlobalName, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isLogException, isRollback, logException, logFatal, removeMessageProcessor, rollback, rollback, rollbackTransaction, routeException, routeException, setCommitTxFilter, setEnableNotifications, setGlobalName, setLogException, setMessageProcessors, setMessagingExceptionHandler, setRollbackTxFilter
addMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
dispose, getFlowConstruct, getMessagingExceptionHandler, getMuleContext, setFlowConstruct, setMuleContext, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
setMuleContext
setFlowConstruct
public AbstractMessagingExceptionStrategy()
public AbstractMessagingExceptionStrategy(MuleContext muleContext)
public MuleEvent handleException(Exception ex, MuleEvent event)
MessagingExceptionHandler
handleException
in interface MessagingExceptionHandler
ex
- which occurredevent
- which was being processed when the exception occurredprotected void stopFlow(FlowConstruct flow)
public boolean isStopMessageProcessing()
public void setStopMessageProcessing(boolean stopMessageProcessing)
protected void defaultHandler(Throwable t)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.