You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Kondalarv <ko...@gmail.com> on 2015/01/20 22:55:37 UTC
Multiple file consumers on Share File System (Cluster)
Running Multiple file consumers on Share File System. I need one one
consumerprocess the file.
But both instances are processing same file or errors that files are
missing.
Here is the configuration.
<camel:route id="inbox-outbox-route">
<camel:from
uri="file:/app/test/data/inbox?readLock=fileLock&?noop=true"/>
<camel:process ref="fileProcesser"/>
</camel:route>
I tried with below option and it is working but I would like to go for
multiple messages for poll.
<camel:from
uri="file:/app/test/data/inbox?readLock=changed&delete=true&preMove=processing&maxMessagesPerPoll=1&initialDelay=1000"/>
How to do this?
--
View this message in context: http://camel.465427.n5.nabble.com/Multiple-file-consumers-on-Share-File-System-Cluster-tp5761965.html
Sent from the Camel Development mailing list archive at Nabble.com.