public abstract class AbstractMessagingExceptionStrategy extends AbstractExceptionListener implements MessagingExceptionHandler
commitTxFilter, enableNotifications, globalName, initialised, logException, logger, messageProcessors, NOT_SET, rollbackTxFilterflowConstruct, messagingExceptionHandler, muleContext| 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 Event |
doHandleException(Exception ex,
Event event) |
Event |
handleException(MessagingException ex,
Event 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() |
addEndpoint, buildRouter, closeStream, commit, doInitialise, doLogException, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getGlobalName, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, initialise, isEnableNotifications, isInitialised, isLogException, isRollback, logException, logFatal, removeMessageProcessor, rollback, routeException, setCommitTxFilter, setEnableNotifications, setGlobalName, setLogException, setMessageProcessors, setMessagingExceptionHandler, setRollbackTxFiltergetOwnedObjectsdispose, getFlowConstruct, getMuleContext, setFlowConstruct, setMuleContext, start, stopgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplysetMuleContextsetFlowConstructpublic AbstractMessagingExceptionStrategy()
public AbstractMessagingExceptionStrategy(MuleContext muleContext)
public Event handleException(MessagingException ex, Event event)
MessagingExceptionHandlerhandleException in interface MessagingExceptionHandlerex - which occurredevent - which was being processed when the exception occurredprotected void stopFlow()
public boolean isStopMessageProcessing()
public void setStopMessageProcessing(boolean stopMessageProcessing)
@Deprecated protected void defaultHandler(Throwable t)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.