Hi,
I am using Jbpm BPEL 1.1.1 and have deployed a process which has many receive activities in it.
When I start the process, it gets executed. The first receive activity is executed and the process is waiting for the second receive activity to get executed. At this point of time I query for getting the receive tokens using the code
Collection receiveTokens = integrationSession.findReceiveTokens(bpelProcDef);