Class LoggingInboundErrorHandler
- java.lang.Object
-
- com.flowable.engage.external.system.common.LoggingInboundErrorHandler
-
- All Implemented Interfaces:
InboundErrorHandler
public class LoggingInboundErrorHandler extends Object implements InboundErrorHandler
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringexternalSystemIdprotected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description LoggingInboundErrorHandler(String externalSystemId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExternalSystemId()Returns the id of the external system implemented by this handler.voidhandleError(InboundErrorDto error)Handle the received error from the external adapter
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
externalSystemId
protected final String externalSystemId
-
-
Constructor Detail
-
LoggingInboundErrorHandler
public LoggingInboundErrorHandler(String externalSystemId)
-
-
Method Detail
-
getExternalSystemId
public String getExternalSystemId()
Description copied from interface:InboundErrorHandlerReturns the id of the external system implemented by this handler.- Specified by:
getExternalSystemIdin interfaceInboundErrorHandler- Returns:
- the external system id implemented by this handler
-
handleError
public void handleError(InboundErrorDto error)
Description copied from interface:InboundErrorHandlerHandle the received error from the external adapter- Specified by:
handleErrorin interfaceInboundErrorHandler- Parameters:
error- the error from the external adapter
-
-