Interface PipelineMessageErrorHandler

All Superinterfaces:
MessageErrorHandler

public interface PipelineMessageErrorHandler extends MessageErrorHandler
A specialization of error handler where the error is handled via use of a specified message handler and message encoder.
  • Method Details

    • getHandler

      MessageHandler getHandler()
      Get the handler to invoke on the outbound error message.
      Returns:
      the outbound error handler
    • setHandler

      void setHandler(MessageHandler handler)
      Set the handler to invoke on the outbound error message.
      Parameters:
      handler - the outbound error handler
    • getMessageEncoder

      MessageEncoder getMessageEncoder()
      Get the message encoder used to encode the outbound error message.
      Returns:
      the outbound error message encoder
    • setMessageEncoder

      void setMessageEncoder(MessageEncoder messageEncoder)
      Set the message encoder used to encode the outbound error message.
      Parameters:
      messageEncoder - the outbound error message encoder