The pflatform mbean server option was introduced in 1.4. It is mainly for back compatibility reason that it wasn't the default. I agree that it should be the default.. That can eliminate creating a mbean server instance for camel. It also makes it easier to use websphere as you have to either use platfform mbean server or change the domain name to match theirs.
On Tue, Jul 29, 2008 at 6:07 AM, James Strachan <[EMAIL PROTECTED]> wrote: > When running Camel in the eclipse plugin I was scratching my head a > bit trying to figure out why the MBeans were not visible in the JMX > console. From noodling the code in > DefaultInstrumentationAgent.findOrCreateMBeanServer() it looks like we > don't use the platform mbean server by default unless the user > specifies the system property... > > -Dorg.apache.camel.jmx.usePlatformMBeanServer=true > > I just kinda thought that was a bit backwards; shouldn't we use the > platform mbean server by default - then using JConsole we can actually > see the mbeans? Is there some reason we didn't enable this by default? > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com >
