The property org.apache.activemq.UseDedicatedTaskRunner should ignore caps

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800380 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2009-08-03 13:48:17 +00:00
parent ced6909078
commit 398f8ecbff
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class TaskRunnerFactory {
// 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();