Filtering Messages in the Undelivered Message Queue
You can filter messages in the undelivered message queue by destination using a selector. Note that this is an exception to the JMS Specification that is made only for messages in the undelivered message queue. In the undelivered message queue, the JMSDestination header field can be used in a selector the same way that a supported header field or any other message property with a string value is used.
The expected value of the JMSDestination field depends on the original message destination type and name:
JMSDestination operator ’Topic|Queue[destination_name]’
For example:
JMSDestination='Queue[A]' JMSDestination='Topic[B7]' JMSDestination NOT LIKE 'Queue[A]' JMSDestination LIKE 'Queue[A]' JMSDestination LIKE 'Q%' JMSDestination IS NOT NULL JMSDestination IN ('Queue[H]','Queue[J]') JMSDestination NOT IN ('Topic[H]','Topic[J]') JMSDestination='Queue[A]' OR JMSDestination='Queue[B]'
Copyright © TIBCO Software Inc. All rights reserved.