org.mule.transport.tcp
Interface NextMessageExceptionPolicy
- All Known Implementing Classes:
- DefaultMessageExceptionPolicy, RewriteMessageExceptionPolicy
public interface NextMessageExceptionPolicy
An exception policy that is called when an exception is thrown while processing the next message
- Since:
- 2.2.6
handleException
Object handleException(Exception exception,
TcpMessageReceiver receiver,
TcpMessageReceiver.TcpWorker worker)
throws Exception
- Handles the exception thrown while processing the next message
- Parameters:
exception - the exception thrownreceiver - the tcp message receiverexpirable - the tcp worker that is processing the message
- Returns:
- the result of processing the exception
- Throws:
Exception - while processing the exception
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.