When a process flow has multiple intermediate Message Events (e.g., event1 and then event2), and incoming messages are out-of-order.
External partners send two messages one for event1 and one for event2. The event2 message arrives before event1, and a signalEvent for the event2 is called first. In that case, I noticed that jBPM returns from the signalEvent immediately without doing anything for the event2. I think jBPM detects it is out of order. If it happens, how does my code know the signalEvent was not executed due to the out-of-order mesage. Can I get any status using the KnowledgeBase API? So, I can resumit the signalEvent after the event1 message is executed.
Thanks,
bwj