I’ve a JMS queue in which there are two different types of messages, and I’ve two separate integrations for them.
I’m using a JMS polling notification to read the messages from the queue, and found that there is MessageSelector option in there, but not sure how to use it.
Please can you let me know how to use this option and what setting would be required on the JMS message, if any.
A JMS MessageSelector can be used to subscribe only to those messages which meet the condition. MessageSelectors can use any field in the JMS Header or JMS Properties portion of the message.
Search on JMSMessageSelector in the JMSAdapter User’s Guide for details.
One example might be (assuming your JMS Message was designed to have a custom property called "senderID"):