yanrongzhen commented on code in PR #4591:
URL: https://github.com/apache/eventmesh/pull/4591#discussion_r1418467219


##########
eventmesh-examples/src/main/resources/application.properties:
##########
@@ -24,4 +24,5 @@ eventmesh.selector.type=nacos
 eventmesh.selector.nacos.address=127.0.0.1:8848
 eventmesh.catalog.name=EVENTMESH-catalog
 eventmesh.workflow.name=EVENTMESH-workflow
-eventmesh.connector.dingtalkTemplateType=sampleText
\ No newline at end of file
+eventmesh.connector.dingtalkTemplateType=text
+eventmesh.connector.wecomTemplateType=text

Review Comment:
   When a user-written value is not valid, an exception will be thrown by 
DingDingMessageTemplateType#of.



##########
eventmesh-examples/src/main/resources/application.properties:
##########
@@ -24,4 +24,5 @@ eventmesh.selector.type=nacos
 eventmesh.selector.nacos.address=127.0.0.1:8848
 eventmesh.catalog.name=EVENTMESH-catalog
 eventmesh.workflow.name=EVENTMESH-workflow
-eventmesh.connector.dingtalkTemplateType=sampleText
\ No newline at end of file
+eventmesh.connector.dingtalkTemplateType=text
+eventmesh.connector.wecomTemplateType=text

Review Comment:
   When a user-written value is not valid, an exception will be thrown by 
`DingDingMessageTemplateType#of`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to