I would like to use easiest way to send API message from Camunda. What is the easiest way? I can't find useful source.
CodePudding user response:
If I understand correctly, you want to send a BPMN message to the Camunda API.
Via REST see here: https://docs.camunda.org/manual/7.16/reference/rest/message/post-message/
Via Java e.g. here: https://docs.camunda.org/javadoc/camunda-bpm-platform/7.16/org/camunda/bpm/engine/RuntimeService.html#correlateMessage(java.lang.String,java.lang.String,java.util.Map)
CodePudding user response:
If you mean to send http request, the easiest solution is to use http-conector
. @rob2universe has a good example about it.