How to consume JMS queue inside a BPM process
I have a BPM process that needs to receive two ACK messages(one after another) that we read from two different JMS Queues.
I have tried using the receive task and setting the type to “User Interface” which is a JMS Adapter service configured as a "message consumer".
The process runs fine until it gets to the first receive activity, so what I do is create a JMS message on the queue.
The JMS message gets consumed from the Queue but, the process but does not continue to the next activity.
My suspicion is that, I don’t have a corresponding send activity and that the activity is NOT set to create instance, which I can’t set since I already have a start activity and the human task which
is the initiator of the process. I also don’t need to send anything before the receive activity.
What I have tried so far is to kick start a process with a message event and that works fine, but its not what we need for this scenario.
Please help with some guidance.
Mo