On Wed, Oct 17, 2012 at 9:32 PM, ravi.4indra <ravi.4in...@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: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen