Interface InboundMessageRoutingService
-
- All Known Implementing Classes:
InboundMessageRoutingServiceImpl
public interface InboundMessageRoutingServiceA routing service for inbound messages from the external adapters.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfindConversationForUserAccount(UserAccount userAccount)Find the conversation id for the givenuserAccount.voidrouteInboundMessage(InboundMessage inboundMessage, UserAccount userAccount)Route the inbound message to a conversation for the giveuserAccount
-
-
-
Method Detail
-
routeInboundMessage
void routeInboundMessage(InboundMessage inboundMessage, UserAccount userAccount)
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
String findConversationForUserAccount(UserAccount userAccount)
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
-
-