Linus, you might also take a look at the camel-ftp unit tests...in particular http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMaxMessagesPerPollTest.java?view=markup FtpConsumerMaxMessagesPerPollTest , which uses the "maxMessagesPerPoll" attribute to limit the polling.
----- Ben O'Day IT Consultant -http://benoday.blogspot.com -- View this message in context: http://camel.465427.n5.nabble.com/One-exchange-at-a-time-tp4363389p4365681.html Sent from the Camel - Users mailing list archive at Nabble.com.
