Interface ErrorHandlerAware


public interface ErrorHandlerAware
An interface for Processor aware of its ErrorHandler which are wrapped via the Channel during route initialization, or specially used by RecipientList EIP annotation.
  • Method Details

    • setErrorHandler

      void setErrorHandler(Processor errorHandler)
      Sets the error handler
      Parameters:
      errorHandler - the error handler
    • getErrorHandler

      Processor getErrorHandler()
      Gets the error handler