public abstract class AbstractMessagingExceptionStrategy extends AbstractExceptionListener implements MessagingExceptionHandler
commitTxFilter, enableNotifications, globalName, initialised, logger, messageProcessors, NOT_SET, rollbackTxFilterflowConstruct, messagingExceptionHandler, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_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, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getGlobalName, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, rollback, rollbackTransaction, routeException, routeException, setCommitTxFilter, setEnableNotifications, setGlobalName, setMessageProcessors, setMessagingExceptionHandler, setRollbackTxFilteraddMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotationsdispose, getFlowConstruct, getMessagingExceptionHandler, getMuleContext, setFlowConstruct, setMuleContext, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisposesetMuleContextsetFlowConstructpublic AbstractMessagingExceptionStrategy()
public AbstractMessagingExceptionStrategy(MuleContext muleContext)
public MuleEvent handleException(Exception ex, MuleEvent event)
MessagingExceptionHandlerhandleException in interface MessagingExceptionHandlerex - 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–2015 MuleSoft, Inc.. All rights reserved.