ARTEMIS-2803 fix semantic change
This commit is contained in:
parent
9cb8c9d459
commit
9d4ec41935
|
@ -359,8 +359,8 @@ public class ClusterController implements ActiveMQComponent {
|
|||
clusterConnection = server.getClusterManager().getDefaultConnection(null);
|
||||
}
|
||||
|
||||
//if there is no default cluster connection then just ignore the packet with a log message
|
||||
if (clusterConnection == null) {
|
||||
//if there is no default cluster connection and security is enabled then just ignore the packet with a log message
|
||||
if (clusterConnection == null && server.getConfiguration().isSecurityEnabled()) {
|
||||
ActiveMQServerLogger.LOGGER.failedToFindClusterConnection(packet.toString());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue