public abstract class BaseInboundErrorHandler extends Object implements InboundErrorHandler
Modifier and Type | Field and Description |
---|---|
protected String |
externalSystemId |
Modifier | Constructor and Description |
---|---|
protected |
BaseInboundErrorHandler(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 abstract void |
handleExternalError(InboundErrorDto status) |
protected abstract void |
handleInternalError(InboundErrorDto status) |
protected abstract void |
handleUnknownError(InboundErrorDto status) |
protected final String externalSystemId
protected BaseInboundErrorHandler(String externalSystemId)
public final String getExternalSystemId()
InboundErrorHandler
getExternalSystemId
in interface InboundErrorHandler
public void handleError(InboundErrorDto error)
InboundErrorHandler
handleError
in interface InboundErrorHandler
error
- the error from the external adapterprotected abstract void handleInternalError(InboundErrorDto status)
protected abstract void handleExternalError(InboundErrorDto status)
protected abstract void handleUnknownError(InboundErrorDto status)
Copyright © 2019. All rights reserved.