Resolution: On setting the a selector in the JMS Queue Receiver or Wait for JMS Queue Message activity, the following exception is reported.
2008 Aug 15 17:05:44:600 GMT +1 BW.MessageSelector Info [BW-Plugin] BEBW001 Started Channel [/MessageSelector/BE/Channel]
2008 Aug 15 17:05:44:616 GMT +1 BW.MessageSelector Info [BW-Plugin] BEBW001 Destination [/MessageSelector/BE/Channel/Reply] Properties [Name=reply Selector=JMSCorrelationID='7501' Priority=4 Queue=true TTL=0 AckMode=23 DeliveryMode=2 Serializer=com.tibco.cep.driver.jms.serializer.BytesMessageSerializer]
javax.jms.InvalidSelectorException: Invalid selector syntax
at com.tibco.tibjms.TibjmsxSelector.readStringLiteral(TibjmsxSelector.java:599)
at com.tibco.tibjms.TibjmsxSelector.nextToken(TibjmsxSelector.java:665)
at com.tibco.tibjms.TibjmsxSelector.tokenize(TibjmsxSelector.java:734)
at com.tibco.tibjms.TibjmsxSelector.<init>(TibjmsxSelector.java:391)
Resolution
=======
The workaround is to add " AND " at the end of the selector string that is used in the JMS Queue Receiver or Wait for JMS Queue Message activities. For example, if the selector used in Wait for JMS Queue Message activity is “JMSCorrelationID='%%RvService%%'” (without the double quotes), you need to use “JMSCorrelationID='%%RvService%%" AND " (without the double quotes). Note there is a space before and after AND .