Interface InboundService
-
- All Known Implementing Classes:
InboundServiceImpl
public interface InboundServiceService responsible for providing the handlers for the different inbound handlers for different external adapters.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InboundErrorHandlergetErrorHandler(String externalSystemId)Get the inbound error handler responsible for the givenexternalSystemId.InboundStatusHandlergetStatusHandler(String externalSystemId)Get the inbound status handler responsible for the givenexternalSystemId.
-
-
-
Method Detail
-
getStatusHandler
InboundStatusHandler getStatusHandler(String externalSystemId)
Get the inbound status handler responsible for the givenexternalSystemId. If there is no status handler then either a default one should be returned or an exception thrown.- Parameters:
externalSystemId- the id of the external system- Returns:
- the status handler for the given system, never
null
-
getErrorHandler
InboundErrorHandler getErrorHandler(String externalSystemId)
Get the inbound error handler responsible for the givenexternalSystemId. If there is no error handler then either a default one should be returned or an exception thrown.- Parameters:
externalSystemId- the id of the external system- Returns:
- the error handler for the given system, never
null
-
-