Hi Chandresh, have a look at Idempotent Consumer EIP[1] pattern, zoran
[1] https://camel.apache.org/idempotent-consumer.html On Fri, Mar 31, 2017 at 11:23 AM, chandresh pancholi <[email protected]> wrote: > Hi, > > I am running Apache camel on 3 Kubernetes pods. Camel consumes file from > FTP directory. These pods are downloading every file from same directory. > Foe ex. directory /abc/def has 20 files every pods will download these 20 > files.If one router downloads a file another router in another pods > shouldn't download. > > Is there any way I can use apache camel as distributed system to avoid > duplicate download of files? > > Please help me out. > > > -- > Chandresh Pancholi > Senior Software Engineer > Flipkart.com > Email-id:[email protected] > Contact:08951803660 -- Zoran Regvart
