org.mule.api.exception
Interface MessagingExceptionHandler
- All Superinterfaces:
- ExceptionHandler
- All Known Subinterfaces:
- MessagingExceptionHandlerAcceptor
- All Known Implementing Classes:
- AbstractMessagingExceptionStrategy, CatchMessagingExceptionStrategy, ChoiceMessagingExceptionStrategy, CxfComponentExceptionStrategy, DefaultMessagingExceptionStrategy, DefaultServiceExceptionStrategy, MessagingExceptionStrategyAcceptorDelegate, QuietExceptionStrategy, RollbackMessagingExceptionStrategy, TemplateMessagingExceptionStrategy
public interface MessagingExceptionHandler
- extends ExceptionHandler
Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
handleException
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).
- Parameters:
exception
- which occurredevent
- which was being processed when the exception occurred
- Returns:
- new event to route on to the rest of the flow, generally with ExceptionPayload set on the message
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.