Interface InboundMessageRoutingService

All Known Implementing Classes:
InboundMessageRoutingServiceImpl

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

    Modifier and Type Method Description
    java.lang.String findConversationForUserAccount​(com.flowable.core.idm.api.UserAccount userAccount)
    Find the conversation id for the given userAccount.
    void routeInboundMessage​(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
    Route the inbound message to a conversation for the give userAccount
  • Method Details

    • routeInboundMessage

      void routeInboundMessage​(InboundMessage inboundMessage, com.flowable.core.idm.api.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

      java.lang.String findConversationForUserAccount​(com.flowable.core.idm.api.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