Since i am not getting any reply, i think the question is not clear. Lets make it clear. Here is the query:
The publisher is sending the message with some application specific properties to the topic. These properties are set using the method Message.setStringProperty(String, String).
The subscriber is got using the method
TopicSession.createSubscriber(topic, messageSelector, true) where messageSelector value is:
"A='A' AND B='B'".
MessageListener is also set to the subscriber.
The onMessage method is never called.
But when the subscriber is got using the method
TopicSession.createSubscriber(topic), the onMessage method is called with the published message.
Please reply me where i am going wrong?
Thanks & Regards,