I have a question regarding message processing.
Let’s say I have a BPMN process that has multiple “stages” (stage 1 and stage 2). Each stage commences when a certain external message is received. So something like this:
In my case this would be a message published via the Camunda Java API by a component listening on a message queue. What happens if the messages for let’s say “message1” and “message2” arrive with few milliseconds in between, and the process is still processing stage 1 - so messages are in order, they are just happening fast. Is the message2 then lost and the process will stop at the waiting point? If this is the case what could be done about it (e.g. have the event publisher single threaded and wait till the process engine has settled in a stable state)?
Thanks for clarifying.