You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by muhammad siddique <ab...@gmail.com> on 2013/05/31 22:10:43 UTC
Re: Apache camelContext jmxAgent for SSL
Here is the modified version if you chose to use ssl client authentication vs
plain text file
<bean id="jmxConnector"
class="org.springframework.jmx.support.ConnectorServerFactoryBean"
depends-on="rmiRegistry">
<property name="objectName" value="connector:name=rmi"/>
<property name="serviceUrl"
value="service:jmx:rmi://localhost:1098/jndi/rmi://localhost:1099/myapp"/>
<property name="environment">
<map>
<entry key="jmx.remote.rmi.client.socket.factory">
<bean class="javax.rmi.ssl.SslRMIClientSocketFactory"/>
</entry>
<entry key="jmx.remote.rmi.server.socket.factory">
<bean class="javax.rmi.ssl.SslRMIServerSocketFactory"/>
</entry>
<entry key="jmx.remote.rmi.server.socket.factory">
<bean class="javax.rmi.ssl.SslRMIServerSocketFactory" >
<constructor-arg index="0" > <null
/></constructor-arg>
<constructor-arg index="1" > <null
/></constructor-arg>
<constructor-arg index="2" value="true" />
</bean>
</entry>
</map>
</property>
</bean>
--
View this message in context: http://camel.465427.n5.nabble.com/Apache-camelContext-jmxAgent-for-SSL-tp493488p5733581.html
Sent from the Camel Development mailing list archive at Nabble.com.