CamelContext.setRoutes() documentation is misleading
----------------------------------------------------
Key: CAMEL-969
URL: https://issues.apache.org/activemq/browse/CAMEL-969
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 1.4.0
Reporter: Geoff Gibbs
The javaDoc for CamelContext.setRoutes() states:
"Sets the routes for this context, replacing any current routes"
Yet when used, and the context started, startRouteDefinitions() is used first,
causing any existing routes created through the definitions (such as those from
RouteBuilders) to be re-created and started before the new routes provided to
setRoutes() are started.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.