[
https://issues.apache.org/jira/browse/CAMEL-15930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248325#comment-17248325
]
Claus Ibsen commented on CAMEL-15930:
-------------------------------------
Okay so it looks like the problem is that its own startup of routes hits the
public API of starting routes, that the route controller would deny the end
user to do manually such as via JMX - because a route is under clustering
management.
> ClusteredRouteController cannot start clustered routes
> ------------------------------------------------------
>
> Key: CAMEL-15930
> URL: https://issues.apache.org/jira/browse/CAMEL-15930
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.4.4, 3.6.0
> Reporter: Jeroen Weijers
> Priority: Minor
> Fix For: 3.8.0
>
>
> The ClusteredRouteController cannot start a clustered route (in Camel 3.4.4,
> Camel 3.6 and probably other versions of Camel 3).
> The problem can be reproduced with example
> camel-example-spring-boot-clustered-route-controller from the examples
> project
> ([https://github.com/apache/camel-spring-boot-examples/tree/master/camel-example-spring-boot-clustered-route-controller]).
> When an instance is the lead in the cluster and tries to start the routes an
> exception is thrown:
> java.lang.UnsupportedOperationException: Operation not supported as route
> clustered is clustered
--
This message was sent by Atlassian Jira
(v8.3.4#803005)