public interface InboundMessageRoutingService
Modifier and Type | Method and Description |
---|---|
String |
findConversationForUserAccount(UserAccount userAccount)
Find the conversation id for the given
userAccount . |
void |
routeInboundMessage(InboundMessage inboundMessage,
UserAccount userAccount)
Route the inbound message to a conversation for the give
userAccount |
void routeInboundMessage(InboundMessage inboundMessage, UserAccount userAccount)
userAccount
inboundMessage
- the received message from the external systemuserAccount
- the user account that the message belongs toString findConversationForUserAccount(UserAccount userAccount)
userAccount
.
The conversation id is the if of the conversation that
can be used to route messages into.userAccount
- the user accountnull