activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sreekar <>
Subject How does the Active MQ perform search in the messages for the given MESSAGE_SELECTOR?
Date Tue, 10 Apr 2012 10:13:56 GMT
Hi Guys,

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

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

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

consumer = session->createConsumer (MY_QUEUE, "1789");
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,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message