Hi Chathura,

 

Few things…

1)       The ObjectName Axis2:name=org.apache.axis2.management.AxisGlobalsMBean is hard coded. Would it be ok if we put it in come configuration file. Can you please add another property to the ObjectName called type “domain:name=aaa,type=ttt” . Where type could be admin,stats etc. I know it’s not mandatory but would be great if you can accommodate.

2)        I have noticed that you are following a different name convention for your Mbeans. As per the JMX spec, the name of the interface is appended by “MBean” , so xxxMBean would be the interface and xxx would be the class which implements the interface xxxMBean.  For instance in your code e.g. public class AxisServicesMBean extends AbstractManagementInterface , where AbstractManagementInterface is an abstract class. Let me know if you have any particular reason for doing this. I am also assuming that you are using Standard MBeans

3)       Could you also extend the MBeans with NotificationBroadcasterSupport for sending notifications?

 

Do you maintain your code in some scratch area? Or you just put patches in the AXIS2 src (Obviously I am assuming you take a committers help to do so)

 

Thanks

Soumadeep

 

-----Original Message-----
From: Chathura Ekanayake [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 10:01 PM
To: [email protected]
Subject: [Axis2] Management Interface - JMX Support

 

 

Hi,

 

I have done some work in the JMX interface. I am sending it in the attached patch file.

Please commit the patch to the url;

https://svn.apache.org/repos/asf/webservices/axis2/trunk/archive/java/scratch

 

It currently supports configuring and monitoring support using commons modeler.

 

Monitoring functionalities are:

 

In message count

Out message count

In fault message count

Out fault message count

 

at all global, service and operation levels.

 

I am planning to implement JMX notifications as the next step.

Please give your ideas about possible events that should emmit notifications.

 

e.g. In message count exceeding some predefined value

 

Chathura.

 

Reply via email to