Enforce maxFetchSize = 1
on the AbstractFetchLimitingMessageSource
from the StandardRotationPolicy
when mode is fair
#8967
Labels
Milestone
In
fair
mode theStandardRotationPolicy
re-configuresAbstractFetchLimitingMessageSource
for a new directory (and possible newConnectionFactory
) in thebeforeReceive()
.However with default
maxFetchSize
(or bigger than1
), thereceive()
would polltoBeReceived
internal queue for files cached from the previous polling cycle.Since we rotate the source immediately to a new set of options, all those cached files don't make sense or even can cause the problem on fetching their content in case of
AbstractRemoteFileStreamingMessageSource
when we rotate to a newConnectionFactory
.See more info in the: #8898
The text was updated successfully, but these errors were encountered: