[jboss-cvs] JBoss Messaging SVN: r3198 - trunk/src/main/org/jboss/messaging/core/impl/postoffice.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 18 12:40:51 EDT 2007


Author: timfox
Date: 2007-10-18 12:40:51 -0400 (Thu, 18 Oct 2007)
New Revision: 3198

Modified:
   trunk/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java
Log:
Added failover message


Modified: trunk/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java	2007-10-18 15:51:20 UTC (rev 3197)
+++ trunk/src/main/org/jboss/messaging/core/impl/postoffice/MessagingPostOffice.java	2007-10-18 16:40:51 UTC (rev 3198)
@@ -2858,7 +2858,8 @@
     */
    private void performFailover(Integer failedNodeID) throws Exception
    {
-      log.debug(this + " performing failover for failed node " + failedNodeID);
+   	log.info("JBoss Messaging is failing over for failed node " + failedNodeID + 
+   			   ". If there are many messages to reload this may take some time...");
       
       ClusterNotification notification = new ClusterNotification(ClusterNotification.TYPE_FAILOVER_START, failedNodeID.intValue(), null);
       
@@ -2987,6 +2988,8 @@
       
       //for testing only
       sendJMXNotification(FAILOVER_COMPLETED_NOTIFICATION);
+      
+      log.info("JBoss Messaging failover completed");
    }
 
    private void sendJMXNotification(String notificationType)




More information about the jboss-cvs-commits mailing list