Hi Willem, I am not sure exactly what you mean by this "instance.id".
Currently, if no id attribute is set, the bus.id is generated by the bundle id plus cxf and a random number. When the id attribute is set, it is used as the bus.id shown in JMX. I am not sure how this "instance.id" is supposed to be used in your use case. Could you give some examples? Thanks. regards, aki 2012/6/29 Willem Jiang <[email protected]>: > Hi, > > As you know CXF management provides a lots MBeans out of box. It works > perfect if it run as stand alone. > If we deploy the CXF endpoints into container like Apache Karaf, we may hit > the issue that Object is already registered. That is because we don't build > up unique Object name for JMX to use. And there could be more than one Bus > which id is CXF. > > To resolve this issue I suggest we add the "instance.id" on the ObjectName. > As JMX supports to look up the object with a query string, I don't think > this change will effect much on the user CXF management codes. > > Any thoughts? > > -- > Willem > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang >
