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: [Camel-Exec] Properties and Header values in URI ?
Date Tue, 14 Jan 2014 13:45:28 GMT
Hi

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

On Tue, Jan 14, 2014 at 2:32 PM, nirosha27 <nirosha.makkena@wipro.com> wrote:
> Hi,
>
> <bean ref="SqlBean" method="process"/>
>  <setHeader headerName="UZVSUBM_SOURCE_DIRECTORY">
>         <simple>${in.header.UZVSUBM_SOURCE_DIRECTORY}</simple>
> </setHeader>
> <log
> message="ftp://Rajib@localhost:21/${in.header.UZVSUBM_SOURCE_DIRECTORY}?password=test"
> />
>  <to
> uri="ftp://Rajib@localhost:21/${in.header.UZVSUBM_SOURCE_DIRECTORY}?password=test"/>
>
>
>  In the above code, In the log message I was able to get the value of
> Source_Directory value but in ftp uri I was not able to access header
> value....
>
> Please provide the solution...
>
> Thanks
> Nirosha
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Exec-Properties-and-Header-values-in-URI-tp1046744p5745942.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message