camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r957856 - in /camel/trunk/camel-core/src: main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java
Date Fri, 25 Jun 2010 09:06:04 GMT
Author: davsclaus
Date: Fri Jun 25 09:06:04 2010
New Revision: 957856

URL: http://svn.apache.org/viewvc?rev=957856&view=rev
Log:
CAMEL-2851: Fixed typo.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java?rev=957856&r1=957855&r2=957856&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedBrowsableEndpoint.java
Fri Jun 25 09:06:04 2010
@@ -39,7 +39,7 @@ public class ManagedBrowsableEndpoint ex
     }
 
     @ManagedOperation(description = "Current number of Exchanges in Queue")
-    public long qeueSize() {
+    public long queueSize() {
         return endpoint.getExchanges().size();
     }
 

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java?rev=957856&r1=957855&r2=957856&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/management/ManagedBrowseableEndpointTest.java
Fri Jun 25 09:06:04 2010
@@ -56,7 +56,7 @@ public class ManagedBrowseableEndpointTe
         String uri = (String) mbeanServer.getAttribute(name, "EndpointUri");
         assertEquals("mock://result", uri);
 
-        Long size = (Long) mbeanServer.invoke(name, "qeueSize", null, null);
+        Long size = (Long) mbeanServer.invoke(name, "queueSize", null, null);
         assertEquals(2, size.longValue());
 
         String out = (String) mbeanServer.invoke(name, "browseExchange", new Object[]{0},
new String[]{"java.lang.Integer"});



Mime
View raw message