Yeah see this FAQ http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html
But you can also set a header with the file name, then it uses that and you can keep using a static to http://camel.apache.org/hdfs On Thu, Oct 8, 2015 at 1:46 PM, Joakim Bjørnstad <joak...@gmail.com> wrote: > Hello, > > Recipient list allows dynamic endpoints: > > http://camel.apache.org/recipient-list.html > > > > On Thu, Oct 8, 2015 at 1:38 PM, ram kumar <ramkumarro...@gmail.com> wrote: >> Hi, >> i would like to set the hdfs path to the current time (in millisecond), >> but CamelContext takes from conf once, is it possible to change it >> >> .to("hdfs://"+ System.currentTimeMillis() + "/") >> >> Thanks > > > > -- > Kind regards > Joakim Bjørnstad -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition