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 TypeMethodDescriptionfindConversationForUserAccount
(UserAccount userAccount) Find the conversation id for the givenuserAccount
.void
routeInboundMessage
(InboundMessage inboundMessage, UserAccount userAccount) Route the inbound message to a conversation for the giveuserAccount
-
Method Details
-
routeInboundMessage
Route the inbound message to a conversation for the giveuserAccount
- Parameters:
inboundMessage
- the received message from the external systemuserAccount
- the user account that the message belongs to
-
findConversationForUserAccount
Find the conversation id for the givenuserAccount
. 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
-