RE: Input directory with multiple file consumers

2015-01-29 Thread ravi.4indra
I ran into a similar issue and exploring options for this. does reducing the delay between polls to very low value (10) increases with file consumption on both the nodes? -- View this message in context:

RE: Input directory with multiple file consumers

2015-01-21 Thread Raf
Or maxMessagesPerPoll=0 to poll for all messages. Regards, Raf From: Kondalarv [via Camel] [mailto:ml-node+s465427n576196...@n5.nabble.com] Sent: woensdag 21 januari 2015 0:34 To: Raf Lenaerts Subject: RE: Input directory with multiple file consumers I tried below option and it is working

RE: Input directory with multiple file consumers

2015-01-20 Thread Kondalarv
I tried below option and it is working camel:from uri=file:/app/test/data/inbox?readLock=changedamp;delete=trueamp;preMove=processingamp;maxMessagesPerPoll=1/ But I would like to go for multiple messages for poll. do you have any solution for this? -- View this message in context:

RE: Input directory with multiple file consumers

2012-07-23 Thread Raf
Is there a way to monitor the same input folder from camel applications on different machines? I am wondering what the best practice is on handling this situation. Since you logged an issue for this, you might want to know that I found a workaround. If you add the parameters

Re: Input directory with multiple file consumers

2012-06-02 Thread Claus Ibsen
On Thu, May 31, 2012 at 5:29 PM, Raf raf.lenae...@persgroep.be wrote: Hi Henryk, hekonsek wrote You share the directory using distributed file system, don't you? :) During testing I was just running multiple instances on my local machine on a local directory, but in production you are right

Re: Input directory with multiple file consumers

2012-05-31 Thread Henryk Konsek
Hi Raf, it doesn't make sense to loadbalance within the camel context. Rather I want to deploy the application on multiple machines. You share the directory using distributed file system, don't you? :) Reading from the shared file system may generate problems. It is highly dependent on the

Re: Input directory with multiple file consumers

2012-05-31 Thread Raf
Hi Henryk, hekonsek wrote You share the directory using distributed file system, don't you? :) During testing I was just running multiple instances on my local machine on a local directory, but in production you are right about the distributed file system :) Local filesystems are fixed in size

Re: Input directory with multiple file consumers

2012-05-31 Thread Henryk Konsek
Hi Raf, In enterprise applications it is common to have 2 nodes running the same application for load balancing and failover. And since camel does enterprise integration I just assumed the file component would have this functionality built in. It certainly does. :) If I find some time