Hi Willem,

First I need to get the property editors for the non-standard types registered - I have created JIRA CXF-123 for this. Second, you should update the contents of the value elements below to conform to the new (simplified) instrumentation.xsd schema.
Will let you know when the CXF-123 is resolved.

Andrea.


Jiang Ning wrote:

Hi Adrea,
I had tried to use the new cxf configuration for management. I can't make the xjc created class be set value by spring config xml. Here is the Celtix style configuration to enable the JMX and setup the JMX Connetor's URL.
<bean class="org.apache.cxf.management.InstrumentationConfigBean">
     <property name="instrumentationControl">
         <value>
               <im:instrumentation>
<im:InstrumentationEnabled>true</im:InstrumentationEnabled>
                       <im:JMXEnabled>true</im:JMXEnabled>
               </im:instrumentation>
         </value>
     </property>
     <property name="MBServer">
         <value>
            <im:MBServer>
               <im:JMXConnector>
                  <im:Threaded>true</im:Threaded>
                  <im:Daemon>false</im:Daemon>
<im:JMXServiceURL>service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/server</im:JMXServiceURL>
                </im:JMXConnector>
             </im:MBServer>
         </value>
     </property>
 </bean>
Can you get me the example how can these complex value type can be set with the new CXF configuration.

Thanks,

Willem.



Reply via email to