Author: clebert.suconic(a)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)
{
Show replies by date