Hi,I am using camel version 2.14.4I have a cluster and hence using
HazelcastIdempotentRepository with a route so that only consumer would
process that route. Route polls on FTP location (using SFTP protocol) to
process files with certain naming convention. I am using below options 1.
*move* so that file will be moved to .done directory after processing.2.
*localWorkDirectory *so that file will be downloaded first and then
processed.3. *idempotent=true*When I drop my file on FTP, my instance1
starts processing that file. Instance2 doesn't process it (which is
expected) but moves the file into .done directory. So, when instance1 is
done with route processing, it tried to move file to .done directory, it
fails with "no such file" error. Same is the problem with localWorkDirectory
option where instance which is not supposed to work on that file tries to
download file.*Q. Is this expected behavior with move and localWorkDirectory
option?*Here is my sample route:                                                
                                header.CamelFileNameOnly                        
                                                                



--
View this message in context: 
http://camel.465427.n5.nabble.com/HazelcastIdempotentRepository-with-FTP2-move-and-localWorkDirectory-options-tp5782490.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to