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 950B3D783 for ; Tue, 14 May 2013 12:29:15 +0000 (UTC) Received: (qmail 6333 invoked by uid 500); 14 May 2013 12:29:15 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 6133 invoked by uid 500); 14 May 2013 12: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 6096 invoked by uid 99); 14 May 2013 12:29:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 12:29:10 +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 cschneider111@gmail.com designates 209.85.128.44 as permitted sender) Received: from [209.85.128.44] (HELO mail-qe0-f44.google.com) (209.85.128.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 12:29:06 +0000 Received: by mail-qe0-f44.google.com with SMTP id s14so311066qeb.17 for ; Tue, 14 May 2013 05:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=zJMTY7FJNorbLqT4Aocx3lDqoQLVx/XE8hlfNrQQFJE=; b=p+dOF6lBaUEtu7N1Q07EmltzeG7Q0HCIGaR1RVysuknaPlbHIDQw7tM4UK1aOVGCLg CWm8KdGe4s4jy0SxFdGqSb0FuMyeIQrTRajbq7Ay2nOhw1iE6K72q+dq2hKxoXx4Kv/L caB3rmLF+T4VNG3GfIxR2Z389HJAhntIchgBAdeGGKgPM9XeLo6v/8eunnSB/33pe2sS 6IULKunQx63VbL2JUln3yfHPyZUQECdDxkqN6u72WPUcUQKGvQF3raC7C0TiZt5ueZ7b 86FnymmaHNRXyUnNU0YxWGsB3HY6Q3DMqdJICmFJDq0l7TbzpXh26Rk0ss789NuBjzJW v1AQ== X-Received: by 10.49.96.104 with SMTP id dr8mr27867079qeb.43.1368534525382; Tue, 14 May 2013 05:28:45 -0700 (PDT) Received: from [192.168.0.103] (HSI-KBW-5-10-51-197.hsi18.kabel-badenwuerttemberg.de. [5.10.51.197]) by mx.google.com with ESMTPSA id j10sm14519283qeh.0.2013.05.14.05.28.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 May 2013 05:28:43 -0700 (PDT) Sender: Christian Schneider Message-ID: <51922DF9.4060002@die-schneider.net> Date: Tue, 14 May 2013 14:28:41 +0200 From: Christian Schneider User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: Steps to replace a direct call by a JMS proxy? References: <1368468781979-5732430.post@n5.nabble.com> <5191E31A.50007@die-schneider.net> <1368533738763-5732488.post@n5.nabble.com> In-Reply-To: <1368533738763-5732488.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You just send to "direct:endpoint". This will trigger the route Christian Posta described and the throttling should work. You can of course not directly define the throttling in the producerTemplate as you only can define an endpoint uri. For this case we have the direct endpoint that can then nicely bridge to an existing route without any further indirection. Christian On 14.05.2013 14:15, Al Ferguson wrote: > Thank you. > > As a first step, I would like to get it working using a template. When done, > Maybe I'll separate the logic in a separate bean. > > But... How to make throttling with using a producertemplate? Is is possible? > > Thanks, > Al. F > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Steps-to-replace-a-direct-call-by-a-JMS-proxy-tp5732430p5732488.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com