[hornetq-commits] JBoss hornetq SVN: r9160 - trunk/src/main/org/hornetq/core/protocol/core/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Apr 24 05:23:40 EDT 2010


Author: timfox
Date: 2010-04-24 05:23:40 -0400 (Sat, 24 Apr 2010)
New Revision: 9160

Modified:
   trunk/src/main/org/hornetq/core/protocol/core/impl/ChannelImpl.java
Log:
https://jira.jboss.org/jira/browse/HORNETQ-315

Modified: trunk/src/main/org/hornetq/core/protocol/core/impl/ChannelImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/protocol/core/impl/ChannelImpl.java	2010-04-23 14:44:27 UTC (rev 9159)
+++ trunk/src/main/org/hornetq/core/protocol/core/impl/ChannelImpl.java	2010-04-24 09:23:40 UTC (rev 9160)
@@ -203,7 +203,7 @@
    
    public Packet sendBlocking(final Packet packet) throws HornetQException
    {
-      if (connection.isDestroyed())
+      if (closed)
       {
          throw new HornetQException(HornetQException.NOT_CONNECTED, "Connection is destroyed");
       }



More information about the hornetq-commits mailing list