default route name could be based on route url, instead of routeXXX
-------------------------------------------------------------------
Key: CAMEL-2852
URL: https://issues.apache.org/activemq/browse/CAMEL-2852
Project: Apache Camel
Issue Type: Wish
Components: camel-core
Affects Versions: 2.3.0
Reporter: Karl Palsson
Priority: Trivial
with a routes like {{from("direct:openSubscription").to("mock:blah")}}, All
the routes get created as route1, route2, route3. This is used as the class
name when using the logging EIP (the .log() in the DSL since v2.2) and also as
the node name in the JMX tree of all the routes.
You can do this:
{{from("direct:openSubscription").routeId("direct:openSubscription").to("mock:blah")}}
but it would be nice if the defaults could perhaps be based on the base of the
URI, as is being done for thread names in CAMEL-2847
pure wishlist though :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.