activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Searching for a string in messages of queues
Date Wed, 05 Nov 2008 16:45:11 GMT
2008/11/5 pablomano <p.minasian@eximion.nl>:
>
> 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...

http://activemq.apache.org/camel/content-based-router.html

you can then use XPath, XQuery, regular expressions or Java filter
methods and so forth.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message