[hornetq-commits] JBoss hornetq SVN: r12002 - trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Jan 9 06:18:26 EST 2012


Author: borges
Date: 2012-01-09 06:18:25 -0500 (Mon, 09 Jan 2012)
New Revision: 12002

Modified:
   trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
The correct method to call here is #start(), #run() would not execute in separate thread.

Modified: trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java	2012-01-09 11:18:03 UTC (rev 12001)
+++ trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java	2012-01-09 11:18:25 UTC (rev 12002)
@@ -2012,7 +2012,7 @@
                      log.warn(e.getMessage(), e);
                   }
                }
-            }.run();
+            }.start();
          }
       }
    }



More information about the hornetq-commits mailing list