If you use SMX4, the JMX server configuration is defined in etc/org.apache.karaf.management.cfg file.
You can connect to the JMX server and register your bean in it.
You can deploy a Spring file in the deploy directory to automatically register MBean at startup for example.

Regards
JB

On 08/09/2010 11:26 AM, me wrote:
Hi Jean,

Yes, i want to create a custom MBean in smx, But how i register custom Mbean in 
SMX ? where config file ?

using spring mbean server ?

Thanks and regards
Fred



From: Jean-Baptiste_Onofr
Date: 2010-08-09  17:19:16
To: users
Cc:
Subject: Re: How custom mbean in smx ?

Hi Fred,
by "own MBean", what do you mean exactly ?
SMX automatically register MBeans per component, per endpoint, etc.
If you want to create a custom MBean, you need to register it in the
MBean server.
Regards
JB
On 08/09/2010 11:13 AM, FredZhu wrote:

Hi all,

     I'm new servicemix, i want to know how to custom own mbean in smx ? i
want to using jconsole remote get some info from own mbean.

Thanks and regards
Fred

Reply via email to