camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1326557 - /camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java
Date Mon, 16 Apr 2012 10:58:37 GMT
Author: davsclaus
Date: Mon Apr 16 10:58:36 2012
New Revision: 1326557

URL: http://svn.apache.org/viewvc?rev=1326557&view=rev
Log:
CAMEL-5175: Added utilization stats to type converter registry which is also accessible from
JMX.

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java?rev=1326557&r1=1326556&r2=1326557&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedTypeConverterRegistryTest.java
Mon Apr 16 10:58:36 2012
@@ -54,10 +54,6 @@ public class ManagedTypeConverterRegistr
         assertEquals(0, failed.intValue());
         Long miss = (Long) mbeanServer.getAttribute(name, "MissCounter");
         assertEquals(0, miss.intValue());
-        Long attempt = (Long) mbeanServer.getAttribute(name, "AttemptCounter");
-        assertEquals(2, attempt.intValue());
-        Long hit = (Long) mbeanServer.getAttribute(name, "HitCounter");
-        assertEquals(2, hit.intValue());
 
         try {
             template.sendBody("direct:start", "foo");
@@ -79,10 +75,6 @@ public class ManagedTypeConverterRegistr
         assertEquals(0, failed.intValue());
         miss = (Long) mbeanServer.getAttribute(name, "MissCounter");
         assertEquals(0, miss.intValue());
-        attempt = (Long) mbeanServer.getAttribute(name, "AttemptCounter");
-        assertEquals(0, attempt.intValue());
-        hit = (Long) mbeanServer.getAttribute(name, "HitCounter");
-        assertEquals(0, hit.intValue());
     }
 
     @Override



Mime
View raw message