activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pablomano <>
Subject Re: Searching for a string in messages of queues
Date Fri, 07 Nov 2008 08:52:37 GMT

I've looked at content based router and it seems to me that this is used to
route messages which are located on a queue. What I'd like to know is
whether there are messages located on a queue having a certain data in their
body. Something like 

searchQueueMessage(string queue, string pattern) functionality which I could
use from php to communicate with the running ActiveMQ on the server. 

James.Strachan wrote:
> 2008/11/5 pablomano <>:
>> Is it possible to search for a string in the body of messages of a queue?
>> I
>> send a message to the queue and the message contains certain data in the
>> body. At certain times I would like to find out whether the queue
>> contains
>> messages which contain that certain data.
> This sounds like a good use case for a content based router...
> you can then use XPath, XQuery, regular expressions or Java filter
> methods and so forth.

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

View raw message