On 16/11/2007, biouele <[EMAIL PROTECTED]> wrote: > > It works > Thank you.
Great - thanks for letting us know! :) James > > > James.Strachan wrote: > > > > On 16/11/2007, biouele <[EMAIL PROTECTED]> wrote: > >> > >> Hi, > >> I deploy camel int to Websphere application server 6 (war file) > >> and I want to retrieve Websphere MbeanServer to initialyze camel to use > >> JMX > >> like this: > >> > >> <bean id="mbeanServer" > >> class="org.springframework.jmx.support.MBeanServerFactoryBean"> > >> <property name="locateExistingServerIfPossible" value="true"/> > >> </bean> > >> > >> <bean id="camel" > >> class="org.apache.camel.spring.CamelContextFactoryBean"> > >> <property name="packages" > >> value="com.fbn.poc.mediation.camel.jms"/> > >> <property name="useJmx" value="true"/> > >> <property name="mbeanServer" ref="mbeanServer"/> > >> </bean> > > > > the mbeanServer property actually is a String name which references > > the mbeanServer in spring. I guess its badly named; we should maybe > > change it to mbeanServerRef to make it more obvious? > > > > e.g. this should work > > > > <property name="mbeanServer" value="mbeanServer"/> > > > > -- > > James > > ------- > > http://macstrac.blogspot.com/ > > > > Open Source SOA > > http://open.iona.com > > > > > > -- > View this message in context: > http://www.nabble.com/Camel-Websphere-Application-server-6-JMX-issue-tf4822665s22882.html#a13797871 > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com
