public class MessagingExceptionStrategyAcceptorDelegate extends AbstractMuleObjectOwner<MessagingExceptionHandler> implements MessagingExceptionHandlerAcceptor
MessagingExceptionHandler
as MessagingExceptionHandlerAcceptor
.flowConstruct, messagingExceptionHandler, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_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, stop
public MessagingExceptionStrategyAcceptorDelegate(MessagingExceptionHandler messagingExceptionHandler)
public boolean accept(MuleEvent event)
accept
in interface Acceptor
event
- MuleEvent
to route through exception handlerMessagingExceptionHandler
should handler exception
false otherwisepublic boolean acceptsAll()
acceptsAll
in interface Acceptor
public MuleEvent handleException(Exception exception, MuleEvent event)
MessagingExceptionHandler
handleException
in interface MessagingExceptionHandler
exception
- which occurredevent
- which was being processed when the exception occurredprotected List<MessagingExceptionHandler> getOwnedObjects()
getOwnedObjects
in class AbstractMuleObjectOwner<MessagingExceptionHandler>
public MessagingExceptionHandler getExceptionListener()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.