[hornetq-commits] JBoss hornetq SVN: r10173 - branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Feb 2 08:09:22 EST 2011
Author: clebert.suconic at jboss.com
Date: 2011-02-02 08:09:22 -0500 (Wed, 02 Feb 2011)
New Revision: 10173
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
Tweak to fix test
Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-02-02 08:35:03 UTC (rev 10172)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-02-02 13:09:22 UTC (rev 10173)
@@ -1020,7 +1020,10 @@
Queue queue = (Queue)binding.getBindable();
- queue.getPageSubscription().close();
+ if (queue.getPageSubscription() != null)
+ {
+ queue.getPageSubscription().close();
+ }
if (queue.getConsumerCount() != 0)
{
More information about the hornetq-commits
mailing list