Hello,
Does anyone know if an intermediate message catch event can be called using POST /message endpoint only when the token is on that specific message event? If not, how can an external system call POST /message endpoint before the token has reached the intermediate message catch event?
Thanks
Anyone from Camunda Team?
Thanks
Hi @philippe,
to correlate a message with POST /message
sucessfully, a token must wait in the message catch event (or message receive task). Otherwiese you will get a MismatchingMessageCorrelationException
.
If you want to check beforehand if a message is ready to be received, you can use the event subscription endpoint: Get Event Subscriptions | docs.camunda.org
Hope this helps, Ingo
1 Like
Hi @Ingo_Richtsmeier, thanks a lot for your reply, that works great.