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 Type Method Description
    InboundErrorHandler getErrorHandler​(java.lang.String externalSystemId)
    Get the inbound error handler responsible for the given externalSystemId.
    InboundStatusHandler getStatusHandler​(java.lang.String externalSystemId)
    Get the inbound status handler responsible for the given externalSystemId.
  • Method Details

    • getStatusHandler

      InboundStatusHandler getStatusHandler​(java.lang.String externalSystemId)
      Get the inbound status handler responsible for the given externalSystemId. 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​(java.lang.String externalSystemId)
      Get the inbound error handler responsible for the given externalSystemId. 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