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

Reply via email to