Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-M3
-
None
-
Unknown
Description
It looks like route autoStartup cancellation from a route policy is not working properly with Camel 3.
For instance, ClusteredRoutePolicy.onInit() is setting autoStartup to false, but routes are actually started.
How to reproduce:
The test JGroupsRaftClusteredRoutePolicyTest reproduces this issue when autoStartup(false) is not explicitly set in createRouteBuilder.
The test RoutePolicyAutoStartupCancelledOnInitTest is a small reproducer too.
Workaround:
Explicitly set autoStartup(false):
from(...).autoStartup(false)
Attachments
Issue Links
- links to