2008/11/5 pablomano <[EMAIL PROTECTED]>: > > 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/