How to use JMS Selector query in JMS JDNI step of DevTest

Document ID : KB000011497
Last Modified Date : 14/02/2018
Show Technical Document Details

How to use JMS Selector query in JMS JDNI step of DevTest? When we multiple responses in webmethods JMS Topic and have to pick up the response based on the messageSender tag using JMS JNDI Step.

DevTest workstation of 8.x, 9.x and 10.x wherever JMS JNDI step is available for use.

There is no Out of the box solution to be able to retrieve the desired response from a Topic based on a specific field in the request. 

Topic is a "Pull Technology" unlike queue which is a "Push" and topic being one to many, it is important the recipient knows the response he needs to subscribe for at the time of subscription. This cannot be achieved dynamically unless you are buffering all the responses from a topic and traversing through them to pick the desired one. You may have to use customize to achieve this. 

There is a documentation at which might be useful for this requirement of understanding how to design JMS Selector Queries. 

Please note that there are no samples for JMS Selector Query though as the below document also says, selector query is not application specific but JMS provider specific.