activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r613899 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java
Date Mon, 21 Jan 2008 14:22:59 GMT
Author: rajdavies
Date: Mon Jan 21 06:22:58 2008
New Revision: 613899

URL: http://svn.apache.org/viewvc?rev=613899&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1475

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java?rev=613899&r1=613898&r2=613899&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java Mon Jan
21 06:22:58 2008
@@ -252,7 +252,7 @@
                     usageMutex.notifyAll();
                     for (Iterator<Runnable> iter = new ArrayList<Runnable>(callbacks).iterator();
iter.hasNext();) {
                         Runnable callback = iter.next();
-                        callback.run();
+                        getExecutor().execute(callback);
                     }
                     callbacks.clear();
                 }



Mime
View raw message