This content has been marked as final.
Show 2 replies
-
1. Re: Setting log name for all routes in a RouteBuilder
davsclaus Dec 20, 2011 8:31 AM (in response to jamie3_james.archibald)There is no such feature.
The DSL is already rather big, so I do not like adding more options to it.
Instead maybe we can allow people to set default options on the properties of the CamelContext, eg context.getProperties().put("xxx", "yyy");
The logger uses the route name as the logger name, so just configure the route to have a name of your liking.
-
2. Re: Setting log name for all routes in a RouteBuilder
jamie3_james.archibald Dec 20, 2011 10:21 AM (in response to davsclaus)Actually what you propose is a better solution!
Thanks!