Class WeChatInboundMessageEventHandlerImpl
java.lang.Object
com.flowable.engage.external.system.wechat.WeChatInboundMessageEventHandlerImpl
- All Implemented Interfaces:
WeChatInboundMessageEventHandler
public class WeChatInboundMessageEventHandlerImpl
extends Object
implements WeChatInboundMessageEventHandler
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExternalConversationServiceprotected final InboundMessageHandlerprotected final org.slf4j.Loggerprotected static final Stringprotected static final Stringprotected final TemplateService -
Constructor Summary
ConstructorsConstructorDescriptionWeChatInboundMessageEventHandlerImpl(InboundMessageHandler inboundMessageHandler, ExternalConversationService externalConversationService, TemplateService templateService) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvent(InboundMessageDto inboundMessage) Handles an event message received from WeChatprotected voidhandleSubscribeEvent(InboundMessageDto inboundMessage) protected voidhandleTemplateSendJobFinishEvent(InboundMessageDto inboundMessage) protected voidhandleUnsupportedEvent(InboundMessageDto inboundMessage)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
SUBSCRIBE
- See Also:
-
TEMPLATE_SEND_JOB_FINISH
- See Also:
-
inboundMessageHandler
-
externalConversationService
-
templateService
-
-
Constructor Details
-
WeChatInboundMessageEventHandlerImpl
public WeChatInboundMessageEventHandlerImpl(InboundMessageHandler inboundMessageHandler, ExternalConversationService externalConversationService, TemplateService templateService)
-
-
Method Details
-
handleEvent
Description copied from interface:WeChatInboundMessageEventHandlerHandles an event message received from WeChat- Specified by:
handleEventin interfaceWeChatInboundMessageEventHandler- Parameters:
inboundMessage- the received message
-
handleSubscribeEvent
-
handleTemplateSendJobFinishEvent
-
handleUnsupportedEvent
-