Re: Camel 2.4 Done File Error Handling

2011-03-16 Thread Craig Taylor
Just to add to this for posterity and those that come after me : The LockFile processing fires with a different exchange than the one that gets propagated out of the camel ftp from() handler; hence properties/headers set within the lock are not carried out of it. The bam, after looking into it mo

Re: Camel 2.4 Done File Error Handling

2011-03-12 Thread Craig Taylor
In looking at the bam I'm not sure I understand how I could use it. My current routes are generated dynamically and equate to something of the following form: from("ftp://"; ) - set GenericFileExclusiveReadLockStrategy for done file handling .to( stepA ) .to( ) If I create an Activit

Re: Camel 2.4 Done File Error Handling

2011-03-12 Thread Claus Ibsen
On Fri, Mar 11, 2011 at 9:22 PM, Craig Taylor wrote: > Before I reinvent the wheel, for Camel 2.4 I'm attempting to check for the > following error conditions for done file handling: > > 1) Done file w/o corresponding regular file > 2) Regular file w/o done file after period of time (say 5 minutes