Hi

This seems like a good idea. I have logged a ticket to make this easier
https://issues.apache.org/jira/browse/CAMEL-6329

On Tue, Apr 30, 2013 at 5:22 PM, Erker, Carsten
<[email protected]> wrote:
> Hi,
>
> we got a route starting with a File consumer (from("file://input"...) and a 
> requirement to have the input directory configurable, i.e. in our application 
> there is some admin functionality to change the directory which the file 
> consumer is polling. This is stored in the database. I guess this is a fairly 
> common use case, though I couldn't really find much in the docs / the Camel 
> book, etc.
>
> From what I found I think I have to stop the route, do some magic and start 
> it again. For the magic I tried setting properties on the FileEndpoint, 
> FileConsumer, RouteContext, etc. After restart it always polls the original 
> directory.
>
> How is the proposed way to do this?
>
> Thanks in advance
> Carsten



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to