[ https://issues.apache.org/activemq/browse/CAMEL-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60250#action_60250 ]
Karl Palsson commented on CAMEL-2852: ------------------------------------- Also, if you log from a route, using the 2.2 DSL, because the "class" name is just the routeId, there's no easy way to group them together in log4j.properties. Perhaps they could all be prefixed with "route." or something? Then a config like... {{log4j.category.route=DEBUG}} would work to filter in/out all the route logging. > 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.