public class MessagingExceptionStrategyAcceptorDelegate extends AbstractMuleObjectOwner<MessagingExceptionHandler> implements MessagingExceptionHandlerAcceptor
MessagingExceptionHandler as MessagingExceptionHandlerAcceptor.flowConstruct, messagingExceptionHandler, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
MessagingExceptionStrategyAcceptorDelegate(MessagingExceptionHandler messagingExceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MuleEvent event) |
boolean |
acceptsAll() |
MessagingExceptionHandler |
getExceptionListener() |
protected List<MessagingExceptionHandler> |
getOwnedObjects() |
MuleEvent |
handleException(Exception exception,
MuleEvent event)
Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
|
dispose, getFlowConstruct, getMessagingExceptionHandler, getMuleContext, initialise, setFlowConstruct, setMessagingExceptionHandler, setMuleContext, start, stoppublic MessagingExceptionStrategyAcceptorDelegate(MessagingExceptionHandler messagingExceptionHandler)
public boolean accept(MuleEvent event)
accept in interface Acceptorevent - MuleEvent to route through exception handlerMessagingExceptionHandler should handler exception
false otherwisepublic boolean acceptsAll()
acceptsAll in interface Acceptorpublic MuleEvent handleException(Exception exception, MuleEvent event)
MessagingExceptionHandlerhandleException in interface MessagingExceptionHandlerexception - which occurredevent - which was being processed when the exception occurredprotected List<MessagingExceptionHandler> getOwnedObjects()
getOwnedObjects in class AbstractMuleObjectOwner<MessagingExceptionHandler>public MessagingExceptionHandler getExceptionListener()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.