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 givenuserAccount
.void
routeInboundMessage(InboundMessage inboundMessage, com.flowable.core.idm.api.UserAccount userAccount)
Route the inbound message to a conversation for the giveuserAccount
-
Method Details
-
routeInboundMessage
void routeInboundMessage(InboundMessage inboundMessage, com.flowable.core.idm.api.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
java.lang.String findConversationForUserAccount(com.flowable.core.idm.api.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
-