On Tue, Sep 7, 2010 at 2:04 PM, RomualdoGobbo <romualdo.go...@newlog.it> wrote:
>
> Have you some sample using Spring XML?
> With Spring XML seem to me that was impossible make a sort of data transfer
> from one "route" to another: the only samples using filters are built with
> explicit value: i.e. "bar"...

The easiest is to use a bean / Camel Processor and then use
ConsumerTemplate to "drain" the JMS queue for messages with that
special ID.
You can then do this in a loop in the Java code.

See appendix C in the Camel book.

And/or this link
http://camel.apache.org/polling-consumer.html

> Thanks a lot.
> Romualdo
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Messages-queue-filtered-depending-on-info-received-by-another-queue-tp2805911p2805980.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to