In some cases, for example, on an OSGi container having the JMX mbean server service running, with CXF 2.5.0 and up, there is no need in explicitly configuring the instrumentation manager bean. In other cases, the instrumentation manager bean may need to be explicitly configured. Previously, this meant that an instance of the InstrumentationManagerImpl bean must be configured. And in this case, there was some issue in the consistent association between the bus and its configured instrumentation manager instance, as initially another instrumentation manager instance is initially assigned to the bus.
In order to solve this problem and at the same time to simplify the configuration, this patch introduces a mechanism to directly configure the instrumentation bean using some specific bus properties.
Here is a sample:
Property bus.jmx.prop corresponds to property prop of the InstrumentationManager bean.