Here I am going to explain how to read specific messages from the TIBCO EMS queue. As you know queue are using for point to point transaction. i.e a single message in a queue can have only one receiver. But at the same time, we can have multiple receivers for the different messages in a single queue. I will explain how to configure the receiver to read specific messages from the queue.

As you know we have multiple header properties for each message which we sent to the queue. One of them is JMSCorrelationID and we use this while creating the bridges to filter the message. I am going to use the same property here as well.

Once you added the JMS Queue Receiver pallet to the project click on the Advanced tab. You will see a column with Message Selector: like in the below image and the selector value here. Please note that the string is character sensitive, you need to give the exact string which matched to the message in the queue.

Queue receiver with Selector

Hope this helps you guys. Let me know your feedback and queries in the comment section below.

Leave a Reply

Your email address will not be published. Required fields are marked *