Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 A20CA91DB for ; Tue, 8 May 2012 14:29:12 +0000 (UTC) Received: (qmail 57470 invoked by uid 500); 8 May 2012 14:29:12 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 57385 invoked by uid 500); 8 May 2012 14:29:12 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 57376 invoked by uid 99); 8 May 2012 14:29:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:29:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:24:39 +0000 Received: by lbok6 with SMTP id k6so5348998lbo.32 for ; Tue, 08 May 2012 07:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=US10dHN2uYXXQ/HXUxr1gQi8/LIT5w3tAWteYSWnY18=; b=cymmYkHyzVv4defHR7/z2ZxjcT3POy6e6BczuLV395ztTf4wjhCRoanrNnYwJgjIAj MQsK3gGn0FcXG7xRQga4r93Fqj2TwhY61j+BGYL4C6hMgAxtqlqemUEbG4Gl//BftbGV LS0B2PN23wakhH13Y7ruEP/G9JBSz74JYyw/m3bN6s2X6IAghURxB1hmLdEAtBQq8rUz Qo2W6+sG0L3pr7FU16heknbwRtV24GPUIlJGoZuR9r8eHIwMjUGxLNzXkg8Z/ucJZcwK 3959aSUJldCpMjEiTIiQICVY1t4ZdE8W76JImSkPxZMjqmJnvQ0AjYybDcglB74RMMXw cwOw== Received: by 10.112.24.103 with SMTP id t7mr8830730lbf.22.1336487058765; Tue, 08 May 2012 07:24:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.146.7 with HTTP; Tue, 8 May 2012 07:23:58 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Tue, 8 May 2012 16:23:58 +0200 Message-ID: Subject: Re: VM component, URI for matching To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 8, 2012 at 4:08 PM, Thomas Johansen wrote: > Hi Claus, > > So what's the deal? This is certainly an incompatibility between 2.9.0 and > 2.9.1/2.9.2? On 2.9.1/2.9.2 the producer and consumer don't communicate > when having the option on the consumer and not on the producer. This makes > upgrading Camel in my product from 2.9.0 to 2.9.2 difficult. > You are the first to report this, and there has been 2 patch releases 2.9.1 and 2.9.2. So maybe you do something odd / different than others. And have you tested with SEDA. And can you create a sample unit tests that demonstrates the issue? And have you tried TRUNK source code. > Takk, > Thomas > > 2012/5/8 Claus Ibsen > >> Hi >> >> Yeah only the name of the queue ought to be enough. >> Its only on the consumer side the ?concurrentConsumers option matter. >> >> The only trick is though if you want the queue to have a fixed size, >> then its frankly the first endpoint >> created that dicate the queue size, eg if you use vm:foo?size=5000 >> >> >> >> On Tue, May 8, 2012 at 2:57 PM, Thomas Johansen wrote: >> > Hi, >> > >> > Camel 2.9.0 apparently does not require that URI parameters are part of >> the >> > URI on both consumer and producer side of a VM queue, while 2.9.1 and >> 2.9.2 >> > does. Is this by purpose or mistake? >> > >> > For example, I had a test which was using a ProducerTemplate to test a >> > route: >> > >> > template().requestBody("vm:MyReceiver", request); >> > >> > and the route: >> > >> > from("vm:MyReceiver?concurrentConsumers=1")... >> > >> > This worked in 2.9.0 but not with 2.9.1 and 2.9.2 until i changed the >> test >> > to do: >> > >> > template().requestBody("vm:MyReceiver?concurrentConsumers=1", request); >> > >> > >> > Takk, >> > Thomas >> >> >> >> -- >> Claus Ibsen >> ----------------- >> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com >> FuseSource >> Email: cibsen@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus, fusenews >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ >> -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/