Hi Guys,

I need to get the messages from one ActiveMQ Queue.
Going throught the documentation, found that Message_Selectors might be
helpful.

But i did not see any doc explaining the mechanism of filtering the
messages.

My doubt is how do i query for a specific message with some correlationID
(say :1789)

consumer = session->createConsumer (MY_QUEUE, "1789");
or
consumer = session->createConsumer (MY_QUEUE, "correlationId=1789");

How does the filtering happen ?

Will it (message-selector) search only in the content (i.e body of the
message) or will it also search in the properties set by the user (set using
setStringProperty(), setIntProperty()...etc) ?


Are there any examples showing the usage of ActiveMQQueueBrowser ?

Any help would be appreciable.

Thanks & Regards,
Sreekar

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-does-the-Active-MQ-perform-search-in-the-messages-for-the-given-MESSAGE-SELECTOR-tp4545137p4545137.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to