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:
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
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:
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
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
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
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
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