Re: Directory synchronization with Camel

2011-10-21 Thread Radomir Kadlec
Hi Raúl, thanks for the tip with custom filter! Radomir -- View this message in context: http://camel.465427.n5.nabble.com/Directory-synchronization-with-Camel-tp4913807p4925060.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Directory synchronization with Camel

2011-10-19 Thread Kripalani, Raul
Hi Radomic, You may want to try the noop=true attribute that Ioannis mentioned along with a custom GenericFileFilter which keeps a mapping (e.g. Hashtable) between file names and their "last modified" date, or an MD5 hash of the file. When scanning each file, compare the current value against the

Re: Directory synchronization with Camel

2011-10-19 Thread Radomir Kadlec
Hello, thanks for the tip. But the problem is not that the files will be moved or deleted. No, Camel leave them in the directory and this is right. But when I replace some *file with newer version* (the same file with newer date and time), Camel file component does not recognize this and does not

Re: Directory synchronization with Camel

2011-10-18 Thread Ioannis Canellos
Have you tied the noop=true option on the URI? -- *Ioannis Canellos* * FuseSource ** Blog: http://iocanel.blogspot.com ** Apache Karaf Committer & PMC Apache ServiceMix Committer Apache Gora