diff --git a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnectionFactory.java b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnectionFactory.java index 946ea95670..364862b8f6 100644 --- a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnectionFactory.java +++ b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnectionFactory.java @@ -541,7 +541,6 @@ public class ActiveMQConnectionFactory extends JNDIStorable implements Connectio } public synchronized boolean isUseTopologyForLoadBalancing() { - checkWrite(); return serverLocator.getUseTopologyForLoadBalancing(); }