Interface InboundService
-
- All Known Implementing Classes:
InboundServiceImpl
public interface InboundService
Service 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 InboundErrorHandler
getErrorHandler(String externalSystemId)
Get the inbound error handler responsible for the givenexternalSystemId
.InboundStatusHandler
getStatusHandler(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
-
-