camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kondalarv <kondala.sou...@gmail.com>
Subject Camel File Consumer : Pre processing steps
Date Wed, 20 May 2015 18:46:26 GMT
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.

Mime
View raw message