Hello,

I am passing messages around in a couple queues and want to filter the messages 
based a session key.

I have a SessionKey string property in the TextMessages and try to filter the 
messages with this code:


            String messageSelector = "SessionKey='" + sessionKey + "'";

            MessageConsumer messageConsumer = session.createConsumer(queue, 
messageSelector);

I doesn't work.  What am I missing?

Thanks,

Dennis


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952152#3952152

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952152


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to