[hornetq-commits] JBoss hornetq SVN: r9117 - trunk/src/main/org/hornetq/core/server/management/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Apr 14 13:12:53 EDT 2010


Author: timfox
Date: 2010-04-14 13:12:52 -0400 (Wed, 14 Apr 2010)
New Revision: 9117

Modified:
   trunk/src/main/org/hornetq/core/server/management/impl/ManagementServiceImpl.java
Log:
https://jira.jboss.org/jira/browse/HORNETQ-317

Modified: trunk/src/main/org/hornetq/core/server/management/impl/ManagementServiceImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/management/impl/ManagementServiceImpl.java	2010-04-14 14:52:57 UTC (rev 9116)
+++ trunk/src/main/org/hornetq/core/server/management/impl/ManagementServiceImpl.java	2010-04-14 17:12:52 UTC (rev 9117)
@@ -683,8 +683,10 @@
                   }
                }
 
-               // start sending notification *messages* only when the *remoting service* if started
-               if (messagingServer == null || !messagingServer.getRemotingService().isStarted())
+               // start sending notification *messages* only when server has initialised
+               // Note at backup initialisation we don't want to send notifications either
+               // https://jira.jboss.org/jira/browse/HORNETQ-317
+               if (messagingServer == null || !messagingServer.isInitialised())
                {
                   return;
                }



More information about the hornetq-commits mailing list