JMS Selector not working

I am trying to get a message from an MQ queue with the following selector:

JMSMessageID = ‘414d5120514d54563031202020202020343f47480342ac24’

The JMSMessageID is in hex value and I think that is why I am not able to retrieve the message. I would like to know if I have to convert the JMSMessageID value to ascii for the selector to work or if I have to somohow specify in the selector that the JMSMessageID is in hex value.

I really appreciate any input.


JMSMessageID is in the “header” section of the JMS message. I believe the JMS Selector only matches fields such as uuid in the “properties” section, thus it can’t see your JMSMessageID

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.