public interface TransportErrorHandler<REQ,RES,CTX>
errorHandlers
property as a mapping for the error code that it is responsible in handlingModifier and Type | Method and Description |
---|---|
void |
handleError(REQ request,
RES response,
CTX context)
Modifies the
response as per the needs, for example by changing the response message body of the
error response being sent |
void handleError(REQ request, RES response, CTX 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 transactionCopyright © 2010–2016 AdroitLogic. All rights reserved.