Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC70CD585 for ; Fri, 9 Nov 2012 22:05:34 +0000 (UTC) Received: (qmail 33301 invoked by uid 500); 9 Nov 2012 22:05:34 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 33270 invoked by uid 500); 9 Nov 2012 22:05:34 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 33261 invoked by uid 99); 9 Nov 2012 22:05:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:05:34 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:05:28 +0000 Received: by mail-vc0-f171.google.com with SMTP id m18so4729405vcm.2 for ; Fri, 09 Nov 2012 14:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :x-mailer:content-transfer-encoding:mime-version; bh=pRyHMK19vUOFr+PmdAKUnRPEZFyTS5a9+ZJPJcK/0oM=; b=Q06UJeZhE59LtYwCZLTULa82QDT/LnVRv85R3llZOj+h/3Un/oee++CVXVxdNTB8Yr pzTNScTOYIc8WmcHaopDBjHl4mSOk0MGkzdg96+oNVYMZoOuLS2h/QlyO4K6hC8oMnZW zmn5oroWUyHEoYOYOt1OicXmNxkTSJ5nV8fi7RV9zaFKf3SGLwnNEwnD3+MfJ7F1jJQO RKDAmy1o3paOTHvGyClH/NjY42R1aog9qALNjxZoeCdO+eRbJje+WHp+F/Cn1BylxxtN 0U42Bpf0/gVIf5XMtfUPeLT/uKzbMN3DajLb1Hy+mVsT3mUiOxqe0EEtgl4KVh2oLlRC I9qA== Received: by 10.52.93.238 with SMTP id cx14mr10483746vdb.42.1352498707324; Fri, 09 Nov 2012 14:05:07 -0800 (PST) Received: from [192.168.2.150] (c-98-231-181-148.hsd1.va.comcast.net. [98.231.181.148]) by mx.google.com with ESMTPS id x4sm15871324vdh.13.2012.11.09.14.05.06 (version=SSLv3 cipher=OTHER); Fri, 09 Nov 2012 14:05:06 -0800 (PST) Message-ID: <1352498705.2715.3.camel@OfficePC> Subject: Re: wrong setting in the docu? From: Timothy Bish To: users@activemq.apache.org Date: Fri, 09 Nov 2012 17:05:05 -0500 In-Reply-To: <1352473953386-4659114.post@n4.nabble.com> References: <1352473953386-4659114.post@n4.nabble.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2012-11-09 at 07:12 -0800, rogerdpack wrote: > I noticed that this page: > http://activemq.apache.org/consumer-dispatch-async.html > suggests the following option: "?consumer.dispatchAsync=false" > > which seems to throw (for me) this exception: > Caused by: java.lang.IllegalArgumentException: Invalid connect parameters: > {consumer.dispatchAsync=false} > > maybe the documentation should show > "?jms.dispatchAsync=false" which seems to work better? Are you setting the consumer.dispatchAsnyc on the destination used to create the consumer, or on the connection uri? If its on the connection uri then the jms.dispatchAsync option would be right but on the destination level then I'd think that the consumer.dispatchAsync is the right one. > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/wrong-setting-in-the-docu-tp4659114.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Tim Bish Sr Software Engineer | RedHat Inc. tim.bish@redhat.com | www.fusesource.com | www.redhat.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/