camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1153049 - /camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java
Date Tue, 02 Aug 2011 07:14:04 GMT
Author: davsclaus
Date: Tue Aug  2 07:14:03 2011
New Revision: 1153049

URL: http://svn.apache.org/viewvc?rev=1153049&view=rev
Log:
Fixed problem with attribute not using same type in ManagedThreadPool causing that option
not accessible in JMX

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java?rev=1153049&r1=1153048&r2=1153049&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedThreadPool.java
Tue Aug  2 07:14:03 2011
@@ -149,7 +149,7 @@ public class ManagedThreadPool {
     }
 
     @ManagedAttribute(description = "Keep alive time in seconds")
-    public void setKeepAliveTime(int keepAliveTimeInSeconds) {
+    public void setKeepAliveTime(long keepAliveTimeInSeconds) {
         threadPool.setKeepAliveTime(keepAliveTimeInSeconds, TimeUnit.SECONDS);
     }
 



Mime
View raw message