Here is camel route for file consumer  that picks up file from a directory
and process it. 

(file:/app/test/inbound?readLock=changed&maxMessagesPerPoll=1&preMove=wip&initialDelay=5000&delay=1000&autoCreate=false&move=done/${date:now:yyyy}/${file:name}.${date:now:yyyyMMddhhmmss}).processRef("fileWatcherConsumerProcesser");


But I want to execute pre-processing logic once File Consumer started
recognizing the file in folder means still producer is writing the file.

How do I handle the scenario, I appreciate your help. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-File-Consumer-Pre-processing-steps-tp5767344.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to