On Thu, Jun 16, 2011 at 5:02 AM, nap <[email protected]> wrote:
> Hi,
>
> I'm consuming a file from a download directory using the file component. How
> can I set the component to only consume when the file is ready? The file
> download is being triggered through a Selenium script using Firefox.
>

There is a readLock option where you can configure various strategies.
Likewise there is a doneFileName that can be used as well.
And you have a filter option where you can implement custom java code
logic to say yes|no to the file.


>
> Thanks,
>
> Nap
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Consuming-from-a-download-folder-tp4493369p4493369.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to