>From Camel 2.13 onwards the hostname is no longer included by default. http://camel.apache.org/camel-2130-release.html
Though in earlier releases you can configure the hostname using org.apache.camel.management.DefaultManagementNamingStrategy On Tue, Nov 12, 2013 at 2:47 AM, CamelTyro <[email protected]> wrote: > When I config the jmx on camel, the objectname is auto genenrated as > org.apache.camel:context=*Happiness*/camelContext,type=components,name="activemqTCP" > and the Happiness is the my hostname, whether I can config it, e.g. make it > as *localhost*/camelContext, I need access it by program and it may change > when running on other machine. > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-assign-the-jmx-objectname-without-host-name-tp5743065.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
