You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "ravi.4indra" <ra...@gmail.com> on 2012/10/17 21:32:50 UTC
Question regaring simple. can we use simple in the in only uri to
prepare the uri using the properties from exchange
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}"))
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.
Re: Question regaring simple. can we use simple in the in only uri to
prepare the uri using the properties from exchange
Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Oct 17, 2012 at 9:32 PM, ravi.4indra <ra...@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