Parallel or sequential file processing in camel-file2 'maxmaxMessagesPerPoll'

Solution Unverified - Updated -

Issue

  • We see that camel file has maxMessagesPerPoll which defines the number of files to pick per poll. If lets say 10 files are picked, how does camel process the 10 files? Are they processed one file after the other?

e.g.

<route>
<from file://inbox?maxMessagesPerPoll=10>
<bean:beanprocessor?method=process>
</route>

  • When 10 files are picked, file 1 will be processed and when processing is done, then file2 will processed then file 3. Is this the behaviour?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel
    • camel-file2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.