I would like to implement a RouteBuilder that takes from an activemq queue,
filters based on values defined in the jms messages, and forwards the
remaining messages to an activemq queue.  Specifically I do not know how to
access jms message data in a filter.  The activemq component page is helpful
(http://activemq.apache.org/camel/activemq.html) but it does not seem to
address my problem.  I see that you can invoke a jms message listener, which
provides jms message access, but I don't know how to tie that into a filter. 
Perhaps using jxpath or simple expressions?

from("activemq:queue:FirstDestination").filter().?????.to("activemq:queue:LastDestination");

Thanks,
Elliot
-- 
View this message in context: 
http://www.nabble.com/How-to-content-filter-activemq-jms-messages--tp17344145s22882p17344145.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to