You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "sravan (Jira)" <ji...@apache.org> on 2020/09/17 16:30:00 UTC

[jira] [Created] (CAMEL-15545) Camel file route in clustering

sravan created CAMEL-15545:
------------------------------

             Summary: Camel file route in clustering
                 Key: CAMEL-15545
                 URL: https://issues.apache.org/jira/browse/CAMEL-15545
             Project: Camel
          Issue Type: Wish
            Reporter: sravan


I want to run the apache camel file route on multiple nodes and the source  folder is same for both nodes and expecting route process files parallelly 

 

when I tried the running camel on multiple nodes, files are processing in a round-robin fashion,

Example:- Node1 will pick 1 file (Node2 is waiting for node1 to process)

after node1 processing, node2 will pick a new file (Node1 will wait for node2 to process file)

 

I want both nodes should process files parallelly 

*Route :*

from("file:\\\folder?maxMessagesPerPoll=1&delete=true&readLockMinLength=0&readLock=changed&readLockTimeout=1000&readLockCheckInterval=1000)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)