public class LoggingInboundErrorHandler extends Object implements InboundErrorHandler
Modifier and Type | Field and Description |
---|---|
protected String |
externalSystemId |
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
LoggingInboundErrorHandler(String externalSystemId) |
Modifier and Type | Method and Description |
---|---|
String |
getExternalSystemId()
Returns the id of the external system implemented by this handler.
|
void |
handleError(InboundErrorDto error)
Handle the received error from the external adapter
|
protected final org.slf4j.Logger logger
protected final String externalSystemId
public LoggingInboundErrorHandler(String externalSystemId)
public String getExternalSystemId()
InboundErrorHandler
getExternalSystemId
in interface InboundErrorHandler
public void handleError(InboundErrorDto error)
InboundErrorHandler
handleError
in interface InboundErrorHandler
error
- the error from the external adapterCopyright © 2019. All rights reserved.