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 6597BC906 for ; Mon, 4 Nov 2013 00:50:38 +0000 (UTC) Received: (qmail 97066 invoked by uid 500); 4 Nov 2013 00:50:37 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 97032 invoked by uid 500); 4 Nov 2013 00:50:37 -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 97024 invoked by uid 99); 4 Nov 2013 00:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 00:50:37 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of raul@evosent.com designates 209.85.160.54 as permitted sender) Received: from [209.85.160.54] (HELO mail-pb0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 00:50:32 +0000 Received: by mail-pb0-f54.google.com with SMTP id ro12so1019841pbb.13 for ; Sun, 03 Nov 2013 16:50:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=PqCodJRWNPXYiPuvgG8hO5hLBg1eSZIe3kiMiUyCptQ=; b=Aok7EsvbMZQmwDOGckbMYjimFCGSPWL4JIbH/hZqiX42tgSse86rrELnNKgwHsbvsS Yb2Gy8y7ELjzbcpKtyAiamfJw9IZujVKW1bi9i0TwFI7I30fuhy4D9cpbqvrkR1m70qv NMUN3xpAu+02NvFgvqHS5/qVHuCj+3rNpjURhiDSFxIP28pjgWwauj6kfUNb1lm84Asw +pPV3OY8UbDbpLOxxl80pNSig2XXyDb5OP7SE4+XStoESfWQ+9b3budfT0HPWCfPs0MK /rpL+4XlFXN2U91/itCSPNzKM0NrPVgRf/h2YJ7y9YImZHN2q1AEG4JZ4eGYUxE+orLL EeHg== X-Gm-Message-State: ALoCoQkJ1n9KNHNnZvAvVlpER5C2LgYeEabWNipl75Vg8GZ0ZtH5Vv1RzfgdGydgXc/luK2Ty3ub X-Received: by 10.68.125.198 with SMTP id ms6mr14803331pbb.98.1383526210689; Sun, 03 Nov 2013 16:50:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.15.35 with HTTP; Sun, 3 Nov 2013 16:49:50 -0800 (PST) X-Originating-IP: [85.155.76.102] In-Reply-To: <1383519226283-5742567.post@n5.nabble.com> References: <1383519226283-5742567.post@n5.nabble.com> From: Raul Kripalani Date: Mon, 4 Nov 2013 00:49:50 +0000 Message-ID: Subject: Re: Passing parameters to a direct / seda / vm endpoint To: "users@camel.apache.org" Content-Type: multipart/alternative; boundary=047d7b2e4af253814804ea4f4c59 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e4af253814804ea4f4c59 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hello, Thanks for your participation in users@camel! Even if we provided a way to set dynamic parameters as part of the URI =96 and have Camel channel those downstream from the producer to the consumer = =96 how would the endpoints/processors sitting behind the SEDA / VM / Direct consumers acquire access to them? What do you have in mind exactly? Bear in mind that all Camel elements (components, processors, EIPs, etc.) revolve around the Camel Exchange/Message API, consisting of generic concepts such as Exchanges, Messages, Headers, Properties, Exception, etc. Regards, *Ra=FAl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Sun, Nov 3, 2013 at 10:53 PM, alapaka wrote: > G'day all; > > Is there a way to pass parameters (i.e. like a function call) to a direct= / > seda / vm consumer endpoint? > > Setting headers works, but I reckon it would be much cleaner and clearer = if > we could pass actual parameters as part of the call to the endpoint, eith= er > as part of the URI or as child elements of the element. Even better > would be if we could define parameters as optional/required on the consum= er > endpoint, but simply being able to pass them without resorting to headers > etc.. would be much better imho. > > I am running version 2.10.7, and setting 'unknown' properties on the URI > query string results in errors. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Passing-parameters-to-a-direct-seda-vm-= endpoint-tp5742567.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --047d7b2e4af253814804ea4f4c59--