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
Modifier and TypeMethodDescriptiongetErrorHandler
(String externalSystemId) Get the inbound error handler responsible for the givenexternalSystemId
.getStatusHandler
(String externalSystemId) Get the inbound status handler responsible for the givenexternalSystemId
.
-
Method Details
-
getStatusHandler
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
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
-