Class InboundUnsupportedMessageServiceImpl
java.lang.Object
com.flowable.engage.external.system.service.InboundUnsupportedMessageServiceImpl
- All Implemented Interfaces:
InboundUnsupportedMessageService
public class InboundUnsupportedMessageServiceImpl
extends Object
implements InboundUnsupportedMessageService
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExternalConversationService
static final String
protected final PlatformIdentityService
protected final InboundMessageRoutingService
protected final org.slf4j.Logger
protected final MessageService
protected final TemplateService
-
Constructor Summary
ConstructorsConstructorDescriptionInboundUnsupportedMessageServiceImpl
(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, TemplateService templateService, PlatformIdentityService identityService) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getExternalUnsupportedMessage
(InboundMessage inboundMessage, UserAccount userAccount) protected String
getLanguageForAccount
(UserAccount userAccount) protected String
getMessageExternalId
(InboundMessage inboundMessage) protected String
getTenantForAccount
(UserAccount userAccount) protected boolean
isDuplicateMessage
(String externalId) protected void
sendInternalUnsupportedMessageInConversation
(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) protected void
sendPrivateUnsupportedMessageInConversation
(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) protected void
sendUnsupportedMessageDirectlyToUser
(InboundMessage inboundMessage, UserAccount userAccount) void
unsupportedMessageReceived
(InboundMessage inboundMessage, UserAccount userAccount) An unsupported inbound message has been received.protected void
unsupportedMessageReceivedActiveAccount
(InboundMessage inboundMessage, UserAccount userAccount) protected void
unsupportedMessageReceivedInactiveAccount
(InboundMessage inboundMessage, UserAccount userAccount) protected void
unsupportedMessageReceivedNoAccount
(InboundMessage inboundMessage)
-
Field Details
-
FALLBACK_LANGUAGE
- See Also:
-
logger
protected final org.slf4j.Logger logger -
inboundMessageRoutingService
-
messageService
-
externalConversationService
-
templateService
-
identityService
-
-
Constructor Details
-
InboundUnsupportedMessageServiceImpl
public InboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, TemplateService templateService, PlatformIdentityService identityService)
-
-
Method Details
-
unsupportedMessageReceived
Description copied from interface:InboundUnsupportedMessageService
An unsupported inbound message has been received. If theUserAccount
for the receive message is known it would be sent in the request- Specified by:
unsupportedMessageReceived
in interfaceInboundUnsupportedMessageService
- Parameters:
inboundMessage
- the received inbound messageuserAccount
- the optional user account (if there is one for the user account)
-
unsupportedMessageReceivedNoAccount
-
unsupportedMessageReceivedInactiveAccount
protected void unsupportedMessageReceivedInactiveAccount(InboundMessage inboundMessage, UserAccount userAccount) -
unsupportedMessageReceivedActiveAccount
protected void unsupportedMessageReceivedActiveAccount(InboundMessage inboundMessage, UserAccount userAccount) -
sendInternalUnsupportedMessageInConversation
protected void sendInternalUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) -
sendPrivateUnsupportedMessageInConversation
protected void sendPrivateUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) -
sendUnsupportedMessageDirectlyToUser
protected void sendUnsupportedMessageDirectlyToUser(InboundMessage inboundMessage, UserAccount userAccount) -
getExternalUnsupportedMessage
protected String getExternalUnsupportedMessage(InboundMessage inboundMessage, UserAccount userAccount) -
getMessageExternalId
-
isDuplicateMessage
-
getLanguageForAccount
-
getTenantForAccount
-