-->

WSO2 BPS - Parallel receive activities are blockin

2019-09-06 18:22发布

问题:

I'm doing some tests for deploying business processes on WSO2 BPS. I have to make communicate multiple processes with each other (asynchronously). I made a diagram to outline the problem.

Process_1 starts an instance of Process_0 and sends 2 messages with data to it. The send and the receive activities are implemented in parallel.

On execution, the Process_1 will complete, but not Process_0, which will stay in an active state. The two data messages are received (they are available in the SOAP tracer), but only one of the two activities (Receive1) is completed. Receive2 is still waiting on the second message.

If I look into the H2 database, the second message is QUEUED. No error or warning is thrown.

Correlation sets and Partner links are okay, because if I implement Receive1 and Receive2 in sequence, the process execution will complete.

But this should be possible, no ?

Thanks in advance for your help.