Re: Camel Mail: MaxMessagesPerPoll vs fetchSize
The max is a generic option that batch components inherit. Its
limiting after messages has been downloaded/consumed.
The fetch is a component specific option, eg mail protocol, to limit
on the mail server side.
Favour using fetch when possible, eg component specific options.
On Mon, Jun 11, 2018 at 2:09 PM, Shenavai, Manuel
> Hi everyone,
> I got a question regarding the Camel Mail Component parameters
> maxMessagesPerPoll and fetchSize. Reading the documentation, the parameters
> sound quite similar. Both seem to restrict the number of messages processed
> per poll. MaxMessagePerPoll seem to control the amount of messages that are
> downloaded, while fetchSize specifies the number of messages consumed per
> For me this sounds very similar. Can someone help to better understand these
> parameters and kindly provide an example when which parameter should to be
> Thanks in advance.
> Best regards,
Camel in Action 2: https://www.manning.com/ibsen2