Hi

See this FAQ
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html

On Wed, May 21, 2014 at 5:06 PM, sergarci <[email protected]> wrote:
> Hi everyone
>
> When I configure an endpoint wich uses "file" I can properly use simple
> like:
> <to uri="file:///Outbox?fileName=${body}.xml"/>
> It resolves ${body} to the actual value of body
>
> But when I use with "http" component it is not working:
> <touri=&quot;http://localhost:7001/someURL?param=${body}&quot; />
> it does not resolve ${body} to the actual value, it calls the url like:
> "http://localhost:7001/someURL?param=${body}";.
>
> Is there any known solution?
>
> Thanks you!
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Can-not-resolve-simple-un-http-uri-tp5751434.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to