activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r800380 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
Date Mon, 03 Aug 2009 13:48:18 GMT
Author: rajdavies
Date: Mon Aug  3 13:48:17 2009
New Revision: 800380

URL: http://svn.apache.org/viewvc?rev=800380&view=rev
Log:
The property org.apache.activemq.UseDedicatedTaskRunner should ignore caps

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java?rev=800380&r1=800379&r2=800380&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
Mon Aug  3 13:48:17 2009
@@ -59,7 +59,7 @@
         // avoid
         // using a thread pool to run tasks and use a DedicatedTaskRunner
         // instead.
-        if (dedicatedTaskRunner || "true".equals(System.getProperty("org.apache.activemq.UseDedicatedTaskRunner")))
{
+        if (dedicatedTaskRunner || "true".equalsIgnoreCase(System.getProperty("org.apache.activemq.UseDedicatedTaskRunner")))
{
             executor = null;
         } else {
             executor = createDefaultExecutor();



Mime
View raw message