[
https://issues.apache.org/jira/browse/CAMEL-22785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045164#comment-18045164
]
Miroslav Holubec edited comment on CAMEL-22785 at 12/15/25 1:28 PM:
--------------------------------------------------------------------
Till v4.13 were consumers started asynchronously. Due to some irrelevant change
(change of Task/Timer implementation), it is now synchronous. It has two
fallbacks:
* Consumers aren't started in parallel - it is slower
* The last cluster listener becomes the notification about the change too late.
The routes are already processing messages in that moment.
was (Author: myroch):
Till v4.13 were the consumers started asynchronously. Due to irrelevant change
(change of Task/Timer implementation), it is now synchronous. It has two
fallbacks:
* Consumers aren't started in parallel - it is slower
* The last cluster listener becomes the notification about the change too late.
The routes are already processing messages in that moment.
> The master customer does not start the consumers asynchronously.
> ----------------------------------------------------------------
>
> Key: CAMEL-22785
> URL: https://issues.apache.org/jira/browse/CAMEL-22785
> Project: Camel
> Issue Type: Improvement
> Components: camel-master
> Affects Versions: 4.13.0
> Reporter: Miroslav Holubec
> Priority: Minor
>
> After the change related to CAMEL-22206 are the consumers not started
> asynchronously anymore. Call to BackgroundTask,run() waits for the execution
> to be finished.
> Please change it back to leaderTask.schedule() instead of leaderTask.run() in
> MasterConsumer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)