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) consumer.receiveNoWait(); 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: http://activemq.2283324.n4.nabble.com/Consume-specific-message-from-queue-tp3230481p3234383.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
