camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raf <>
Subject RE: Input directory with multiple file consumers
Date Wed, 21 Jan 2015 13:48:12 GMT
I am no camel expert, but this is my experience.

If you monitor a folder from multiple camel instances (for instance when you deploy on multiple
servers) then you can only poll for 1 .
If that is not the case you can poll for multiple messages.
By maxMessagesPerPoll=10 to poll for 10 messages
Or maxMessagesPerPoll=0 to poll for all messages.


From: Kondalarv [via Camel] []
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

<camel:from uri="file:/app/test/data/inbox?readLock=changed&amp;delete=true&amp;preMove=processing&amp;maxMessagesPerPoll=1/>

But I would like to go for multiple messages for poll. do you have any solution for this?
If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Input directory with multiple file consumers, click here<>.

View this message in context:
Sent from the Camel - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message