[jboss-cvs] JBoss Messaging SVN: r7407 - in trunk/src/main/org/jboss/messaging/core: remoting/server/impl and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 19 04:32:22 EDT 2009


Author: timfox
Date: 2009-06-19 04:32:22 -0400 (Fri, 19 Jun 2009)
New Revision: 7407

Modified:
   trunk/src/main/org/jboss/messaging/core/client/impl/ConnectionManagerImpl.java
   trunk/src/main/org/jboss/messaging/core/remoting/server/impl/RemotingServiceImpl.java
Log:
some small changes to ping failure messages

Modified: trunk/src/main/org/jboss/messaging/core/client/impl/ConnectionManagerImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/client/impl/ConnectionManagerImpl.java	2009-06-19 08:18:49 UTC (rev 7406)
+++ trunk/src/main/org/jboss/messaging/core/client/impl/ConnectionManagerImpl.java	2009-06-19 08:32:22 UTC (rev 7407)
@@ -1140,7 +1140,7 @@
       public synchronized void run()
       {
          final MessagingException me = new MessagingException(MessagingException.CONNECTION_TIMEDOUT,
-                                                              "Did not receive data from server (or ping).");
+                                                              "Did not receive ping from server");
 
          threadPool.execute(new Runnable()
          {

Modified: trunk/src/main/org/jboss/messaging/core/remoting/server/impl/RemotingServiceImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/remoting/server/impl/RemotingServiceImpl.java	2009-06-19 08:18:49 UTC (rev 7406)
+++ trunk/src/main/org/jboss/messaging/core/remoting/server/impl/RemotingServiceImpl.java	2009-06-19 08:32:22 UTC (rev 7407)
@@ -466,7 +466,7 @@
          removeConnection(conn.getID());
 
          MessagingException me = new MessagingException(MessagingException.CONNECTION_TIMEDOUT,
-                                                        "Did not receive ping on connection. It is likely a client has exited or crashed without " + "closing its connection, or the network between the server and client has failed. The connection will now be closed.");
+                                                        "Did not receive ping from client. It is likely a client has exited or crashed without " + "closing its connection, or the network between the server and client has failed. The connection will now be closed.");
 
          conn.fail(me);
       }




More information about the jboss-cvs-commits mailing list