camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Question regaring simple. can we use simple in the in only uri to prepare the uri using the properties from exchange
Date Thu, 18 Oct 2012 06:02:58 GMT
On Wed, Oct 17, 2012 at 9:32 PM, ravi.4indra <ravi.4indra@gmail.com> wrote:
> Question regaring simple. can we use simple in the in only uri to prepare the
> uri using the properties from exchange
> below is the code i am trying to do.Any help is appreciated.
>
> .inOnly("{{MQ.TP}}:queue:"+simple("${property.name}"))
>

See this FAQ about dynamic To
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html

if using recipient list you can do that
.recipientList("{{MQ.TP}}${property.name}");




>
> Thanks
> Ravi
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Question-regaring-simple-can-we-use-simple-in-the-in-only-uri-to-prepare-the-uri-using-the-propertiee-tp5721195.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message