You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by XiLai Dai <xl...@talend.com> on 2017/09/11 09:51:32 UTC

How to replace the Spring jmx bean with Blueprint

Hi there,


Does anyone has experience/suggestions on how to replace the Spring jmx bean with Blueprint?

{code}

  *       <bean id="server" class="org.springframework.jmx.support.ConnectorServerFactoryBean" depends-on="registry">
  *           <property name="objectName">
  *               <value>connector:name=rmi</value>
  *           </property>
  *           <property name="serviceUrl">
  *               <value>service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxrmi</value>
  *           </property>
  *       </bean>
  *       <bean id="registry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">
  *           <property name="port">
  *               <value>1099</value>
  *           </property>      </bean>
{code}


Thanks in advance!

Xilai