org.mule.api
Interface Acceptor

All Known Subinterfaces:
MessagingExceptionHandlerAcceptor
All Known Implementing Classes:
CatchMessagingExceptionStrategy, MessagingExceptionStrategyAcceptorDelegate, RollbackMessagingExceptionStrategy, TemplateMessagingExceptionStrategy

public interface Acceptor

Provides capability to only accept handling certain MuleEvents.


Method Summary
 boolean accept(MuleEvent event)
           
 boolean acceptsAll()
           
 

Method Detail

accept

boolean accept(MuleEvent event)
Parameters:
event - MuleEvent to route through exception handler
Returns:
true if this MessagingExceptionHandler should handler exception false otherwise

acceptsAll

boolean acceptsAll()
Returns:
true if accepts any message, false otherwise.


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.