Hi You can implement or extend the default management naming strategy
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/ManagementNamingStrategy.html Its a bit unusual to use custom naming for Camel resources and therefore we do not have an attribute on the annotations to set a hardcoded name. On Fri, Jul 18, 2014 at 4:25 PM, dermoritz <[email protected]> wrote: > I annotated an endpoint with @ManagedResource. I noticed that per default the > endpoints uri ist part of object name (the last part after name). > Is there a way to change this part? > > I tried > getCamelContext().getManagementNameStrategy().setNamePattern("myName"); > > But this changes the wrong part. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Setting-jmx-object-name-name-myName-tp5754000.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
