WSO2 BPS - Parallel receive activities are blocking execution

老子叫甜甜 提交于 2019-12-13 03:38:10

问题


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.

来源:https://stackoverflow.com/questions/10348635/wso2-bps-parallel-receive-activities-are-blocking-execution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!