On Tue, Nov 15, 2011 at 9:22 PM, bbuzzard
<billy.buzz...@bnsflogistics.com> wrote:
> I just got back to this project and I tried the readLockCheckInterval and it
> works fine.  I am curious about if I need the "delay" parameter if I'm using
> the "readLockCheckInterval".  I was using a "delay=15000,
> readLockCheckInterval=30000 and readLockTimeout=60000".  I thought this
> would check the route every 15 seconds for a file and if a file was found it
> would start the readLockCheckInterval and if nothing changed at the end of
> that interval of 30 seconds then the file would be processed.  But now I
> questioning whether I need "delay" at all.  Is there any
> advantage/disadvantage to using the "delay" parameter with the
> "readLockCheckInterval" parameter?
>

The delay is the period you wait between polling the FTP server. So if
you do not use a delay option, then Camel will check the FTP server
very frequently.

> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-do-I-avoid-consuming-zero-byte-files-from-a-remote-FTP-server-tp4896550p4995599.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
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