From 0b769eee01859cd16e3cf418f10ff533d681303a Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Tue, 26 Jun 2007 04:57:31 +0000 Subject: [PATCH] when seeting watcgTopicAdvisories on the connection - use the getter Method on the ConnectionFactory to retrieve the value git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550686 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/ActiveMQConnectionFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java index 8a34c2a4dd..68d54140ee 100755 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java @@ -266,8 +266,8 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne connection.setRedeliveryPolicy(getRedeliveryPolicy()); connection.setTransformer(getTransformer()); connection.setBlobTransferPolicy(getBlobTransferPolicy().copy()); - connection.setWatchTopicAdvisories(watchTopicAdvisories); - connection.setProducerWindowSize(producerWindowSize); + connection.setWatchTopicAdvisories(isWatchTopicAdvisories()); + connection.setProducerWindowSize(getProducerWindowSize()); connection.setWarnAboutUnstartedConnectionTimeout(getWarnAboutUnstartedConnectionTimeout()); transport.start();