[
https://issues.apache.org/jira/browse/CAMEL-13666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Dettinger updated CAMEL-13666:
-----------------------------------
Description:
It looks like autoStartup is not honoured when set from a route policy in Camel
3.
***Context:*
The JGroupsRaftClusteredRoutePolicyTest fails when not explicitly setting
autoStartup(false) on routes.
Indeed, 3 routes are started while a single leader has actually been elected.
A bit of debugging shows that those routes are actually started while
ClusteredRoutePolicy.onInit() is setting autoStartup to false on the route
context.
> Route autoStartup is not honoured when set from RoutePolicy.init()
> ------------------------------------------------------------------
>
> Key: CAMEL-13666
> URL: https://issues.apache.org/jira/browse/CAMEL-13666
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-jgroups
> Affects Versions: 3.0.0-M3
> Reporter: Alex Dettinger
> Priority: Major
>
> It looks like autoStartup is not honoured when set from a route policy in
> Camel 3.
>
> ***Context:*
> The JGroupsRaftClusteredRoutePolicyTest fails when not explicitly setting
> autoStartup(false) on routes.
> Indeed, 3 routes are started while a single leader has actually been elected.
> A bit of debugging shows that those routes are actually started while
> ClusteredRoutePolicy.onInit() is setting autoStartup to false on the route
> context.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)