public interface TransportErrorHandler
errorHandlers
property as a mapping for the error code that it is responsible in handlingModifier and Type | Method and Description |
---|---|
void |
handleError(java.lang.Object request,
java.lang.Object response,
java.lang.Object context)
Modifies the
response as per the needs, for example by changing the response message body of the
error response being sent |
void handleError(java.lang.Object request, java.lang.Object response, java.lang.Object context)
response
as per the needs, for example by changing the response message body of the
error response being sentrequest
- the request received by the ESBresponse
- the response planned to be sent out, subjected to be changed in this methodcontext
- the context of this http message transaction