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 ExternalConversationServicestatic final Stringprotected final PlatformIdentityServiceprotected final InboundMessageRoutingServiceprotected final org.slf4j.Loggerprotected final MessageServiceprotected final TemplateService -
Constructor Summary
ConstructorsConstructorDescriptionInboundUnsupportedMessageServiceImpl(InboundMessageRoutingService inboundMessageRoutingService, MessageService messageService, ExternalConversationService externalConversationService, TemplateService templateService, PlatformIdentityService identityService) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExternalUnsupportedMessage(InboundMessage inboundMessage, UserAccount userAccount) protected StringgetLanguageForAccount(UserAccount userAccount) protected StringgetMessageExternalId(InboundMessage inboundMessage) protected StringgetTenantForAccount(UserAccount userAccount) protected booleanisDuplicateMessage(String externalId) protected voidsendInternalUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) protected voidsendPrivateUnsupportedMessageInConversation(String conversationIdForUserAccount, InboundMessage inboundMessage, UserAccount userAccount) protected voidsendUnsupportedMessageDirectlyToUser(InboundMessage inboundMessage, UserAccount userAccount) voidunsupportedMessageReceived(InboundMessage inboundMessage, UserAccount userAccount) An unsupported inbound message has been received.protected voidunsupportedMessageReceivedActiveAccount(InboundMessage inboundMessage, UserAccount userAccount) protected voidunsupportedMessageReceivedInactiveAccount(InboundMessage inboundMessage, UserAccount userAccount) protected voidunsupportedMessageReceivedNoAccount(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:InboundUnsupportedMessageServiceAn unsupported inbound message has been received. If theUserAccountfor the receive message is known it would be sent in the request- Specified by:
unsupportedMessageReceivedin 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
-