[hornetq-commits] JBoss hornetq SVN: r10928 - branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jul 6 00:50:48 EDT 2011


Author: clebert.suconic at jboss.com
Date: 2011-07-06 00:50:47 -0400 (Wed, 06 Jul 2011)
New Revision: 10928

Modified:
   branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
Log:
tweak

Modified: branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
===================================================================
--- branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2011-07-06 04:45:46 UTC (rev 10927)
+++ branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2011-07-06 04:50:47 UTC (rev 10928)
@@ -368,7 +368,7 @@
    {
       // It has to use the same executor as the disconnect message is being sent through
       
-      final HornetQException ex = new HornetQException(HornetQException.DISCONNECTED, "Channel disconnected");
+      final HornetQException ex = new HornetQException(HornetQException.NOT_CONNECTED, "Channel disconnected");
       
       closeExecutor.execute(new Runnable()
       {



More information about the hornetq-commits mailing list