This topic provides more information on using each of the methods of the ExceptionHandler interface. This documentation supplements the information provided in the gateway Javadoc for the ExceptionHandler interface.
The ExceptionHandler interface encapsulates a service that channels use to react to exceptions that occur during request and response processing in the gateway.
This method is called by a channel when an exception is caught as a result of message processing.
The return value indicates the action for the channel to take. The actions include:
If no exception handler is installed, the MessageWarehouse (if any) logs the exception, then the exception is rethrown.