I have requirement to subscribe multiple messages from a JMS topic . By using JMS send receive step I can consume only first message and 2nd message is lost. Both messages are sent simultaneously within milli time difference.
Let me know how can I consume both messages ?
Hi,
1. Check the 'Prepare Only' checkbox on the 'Receive' side of the Send Receive step. This step will start a listener in the background but not actually consume anything yet.
2. Copy/paste the Send Receive step and put the copy immediately afterwards. Open the copy, make sure only the 'Receive' side is enabled, and uncheck 'Prepare Only'. This step receives the first message from the background listener.
3. Copy/paste step 2 as many times as you want to receive a message from the background listener started in step 1.
Hope this helps,
Jan