From 09ff99fbfa702b57fd41a9ebc48a4b9e3cda939d Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Mon, 5 Mar 2012 12:16:40 +0000 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-1706 - fix up doc comment git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1297025 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/ActiveMQConnection.java | 2 +- .../java/org/apache/activemq/ActiveMQConnectionFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java index ca7b495fb0..eb51f9439a 100755 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java @@ -2058,7 +2058,7 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon * * @param asyncDispatch If true then consumers created on this connection * will default to having their messages dispatched - * asynchronously. The default value is false. + * asynchronously. The default value is true. */ public void setDispatchAsync(boolean asyncDispatch) { this.dispatchAsync = asyncDispatch; 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 51576c4093..a4794725dc 100755 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java @@ -778,7 +778,7 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne * * @param asyncDispatch If true then consumers created on this connection * will default to having their messages dispatched - * asynchronously. The default value is false. + * asynchronously. The default value is true. */ public void setDispatchAsync(boolean asyncDispatch) { this.dispatchAsync = asyncDispatch;