ARTEMIS-992 Reverting 'ERROR' message

Commit 81b5563a52 introduced an error message
even if you start a regular non clustered server.
This commit is contained in:
Clebert Suconic 2017-04-01 15:57:37 -04:00
parent afd1835a8f
commit 5f939cf61f
2 changed files with 0 additions and 7 deletions

View File

@ -1573,8 +1573,4 @@ public interface ActiveMQServerLogger extends BasicLogger {
@LogMessage(level = Logger.Level.ERROR)
@Message(id = 224075, value = "Cannot find pageTX id = {0}", format = Message.Format.MESSAGE_FORMAT)
void journalCannotFindPageTX(Long id);
@LogMessage(level = Logger.Level.ERROR)
@Message(id = 224076, value = "No cluster locator found. This server will not participate in a cluster. Ensure a valid cluster-connection is configured.", format = Message.Format.MESSAGE_FORMAT)
void noClusterLocatorFound();
}

View File

@ -106,9 +106,6 @@ public class ClusterController implements ActiveMQComponent {
} else {
replicationLocator = defaultLocator;
}
if (replicationLocator == null) {
ActiveMQServerLogger.LOGGER.noClusterLocatorFound();
}
//latch so we know once we are connected
replicationClusterConnectedLatch = new CountDownLatch(1);
//and add the quorum manager as a topology listener