public class WeChatInboundMessageEventHandlerImpl extends Object implements WeChatInboundMessageEventHandler
| Modifier and Type | Field and Description | 
|---|---|
| protected ExternalConversationService | externalConversationService | 
| protected InboundMessageHandler | inboundMessageHandler | 
| protected org.slf4j.Logger | logger | 
| protected static String | SUBSCRIBE | 
| protected static String | TEMPLATE_SEND_JOB_FINISH | 
| protected com.flowable.template.api.TemplateService | templateService | 
| Constructor and Description | 
|---|
| WeChatInboundMessageEventHandlerImpl(InboundMessageHandler inboundMessageHandler,
                                    ExternalConversationService externalConversationService,
                                    com.flowable.template.api.TemplateService templateService) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | handleEvent(InboundMessageDto inboundMessage)Handles an event message received from WeChat | 
| protected void | handleSubscribeEvent(InboundMessageDto inboundMessage) | 
| protected void | handleTemplateSendJobFinishEvent(InboundMessageDto inboundMessage) | 
| protected void | handleUnsupportedEvent(InboundMessageDto inboundMessage) | 
protected final org.slf4j.Logger logger
protected static final String SUBSCRIBE
protected static final String TEMPLATE_SEND_JOB_FINISH
protected final InboundMessageHandler inboundMessageHandler
protected final ExternalConversationService externalConversationService
protected final com.flowable.template.api.TemplateService templateService
public WeChatInboundMessageEventHandlerImpl(InboundMessageHandler inboundMessageHandler, ExternalConversationService externalConversationService, com.flowable.template.api.TemplateService templateService)
public void handleEvent(InboundMessageDto inboundMessage)
WeChatInboundMessageEventHandlerhandleEvent in interface WeChatInboundMessageEventHandlerinboundMessage - the received messageprotected void handleSubscribeEvent(InboundMessageDto inboundMessage)
protected void handleTemplateSendJobFinishEvent(InboundMessageDto inboundMessage)
protected void handleUnsupportedEvent(InboundMessageDto inboundMessage)
Copyright © 2019. All rights reserved.