Interface InboundMessageRoutingService

All Known Implementing Classes:
InboundMessageRoutingServiceImpl

public interface InboundMessageRoutingService
A routing service for inbound messages from the external adapters.
Author:
Filip Hrisafov
  • Method Details

    • routeInboundMessage

      void routeInboundMessage(InboundMessage inboundMessage, UserAccount userAccount)
      Route the inbound message to a conversation for the give userAccount
      Parameters:
      inboundMessage - the received message from the external system
      userAccount - the user account that the message belongs to
    • findConversationForUserAccount

      String findConversationForUserAccount(UserAccount userAccount)
      Find the conversation id for the given userAccount. The conversation id is the if of the conversation that can be used to route messages into.
      Parameters:
      userAccount - the user account
      Returns:
      the id of the conversation, never null