You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/02/14 21:50:02 UTC

svn commit: r377828 - /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java

Author: gnodet
Date: Tue Feb 14 12:50:02 2006
New Revision: 377828

URL: http://svn.apache.org/viewcvs?rev=377828&view=rev
Log:
SM-309: Missing MBean attribute getStatsMBeanName

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java?rev=377828&r1=377827&r2=377828&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java (original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ComponentMBeanImpl.java Tue Feb 14 12:50:02 2006
@@ -353,15 +353,12 @@
      */
     public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
         AttributeInfoHelper helper = new AttributeInfoHelper();
-        helper.addAttribute(getObjectToManage(), "inboundQueueSize", "size of the inbound queue");
         helper.addAttribute(getObjectToManage(), "inboundQueueCapacity", "capacity of the inbound queue");
-        helper.addAttribute(getObjectToManage(), "inboundExchangeCount", "count of inbound exchanges");
-        helper.addAttribute(getObjectToManage(), "outboundExchangeCount", "count of outbound exchanges");
-        helper.addAttribute(getObjectToManage(), "inboundExchangeRate", "rate of inbound exchanges/sec");
-        helper.addAttribute(getObjectToManage(), "outboundExchangeRate", "rate of outbound exchanges/sec");
         helper.addAttribute(getObjectToManage(), "exchangeThrottling", "apply throttling");
         helper.addAttribute(getObjectToManage(), "throttlingTimeout", "timeout for throttling");
         helper.addAttribute(getObjectToManage(), "throttlingInterval", "exchange intervals before throttling");
+        helper.addAttribute(getObjectToManage(), "extensionMBeanName", "extension mbean name");
+        helper.addAttribute(getObjectToManage(), "statsMBeanName", "Statistics mbean name");
         return AttributeInfoHelper.join(super.getAttributeInfos(),helper.getAttributeInfos());
     }
 
@@ -373,7 +370,6 @@
      */
     public MBeanOperationInfo[] getOperationInfos() throws JMException {
         OperationInfoHelper helper = new OperationInfoHelper();
-        helper.addOperation(getObjectToManage(), "getExtensionMBeanName", "extension mbean name");
         helper.addOperation(getObjectToManage(), "reset", "reset statistic counters");
         return OperationInfoHelper.join(super.getOperationInfos(),helper.getOperationInfos());
     }