activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From konura <>
Subject Re: Consume specific message from queue
Date Mon, 24 Jan 2011 16:46:43 GMT

Finally, I found quite a simple solution.
It's creating a Q consumer with selector, just like this

MessageConsumer consumer = sess.createConsumer(destination, selector, true);
ActiveMQObjectMessage objMsg = (ActiveMQObjectMessage)

where selector is an SQL-style string:   prope1='val1' AND prop2='val2'

Anyway, it would be nice to know how to construct a URL for MessageServlet.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message