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 2190BE80C for ; Sat, 26 Jan 2013 10:17:10 +0000 (UTC) Received: (qmail 9628 invoked by uid 500); 26 Jan 2013 10:17:09 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 9412 invoked by uid 500); 26 Jan 2013 10:17:08 -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 9358 invoked by uid 99); 26 Jan 2013 10:17:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 10:17:06 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 10:17:01 +0000 Received: by mail-ob0-f180.google.com with SMTP id ef5so1326266obb.39 for ; Sat, 26 Jan 2013 02:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=PVgQS/J1SSqlqB4ViIkO4kQvTTR7Gu6cIW1OVNc4uR0=; b=BfHRNu1jTTUzp39Io7z1qV58VqVez4VGk14Oz5WNxzJnzoZnbHEoPOCtyxm8cYgFNN +mk5uTz1lgxDfTbnkHc7WUjtXnk1w2ihmTo6HUXHwLMcFlbrnHq4eo/JvMCnSuNz9yIm QkER4BVpZPCgBWZhK0uhskgJXDgUBD+zeJI0jurWtjFKD+sInx7tcsDSHt/b3gQnqWh2 t6BCG3SR/9+54fhZgV8UugoZyJvSORA6J7+PEMYhvmQpraUEo3h3nudI/Xc3nqqctJl7 IK+iBq2rg9rx4ckWZXB5QDrNi+oLLknVflbxdklqKtsYtP4pjoF2RfpEDhH2wF8MWZk0 sJMg== X-Received: by 10.60.171.112 with SMTP id at16mr6614221oec.47.1359195400049; Sat, 26 Jan 2013 02:16:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.172.228 with HTTP; Sat, 26 Jan 2013 02:16:19 -0800 (PST) In-Reply-To: <1359140616489-5726286.post@n5.nabble.com> References: <1359140616489-5726286.post@n5.nabble.com> From: Claus Ibsen Date: Sat, 26 Jan 2013 11:16:19 +0100 Message-ID: Subject: Re: Dynamically building endpoint To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Fri, Jan 25, 2013 at 8:03 PM, helander wrote: > I have a bean, lets call it "b" and a property P on the exchange. I want to > send the exchange to an endpoint with the URI: > > "foo:" + b.getSomeValue(getProperty(P)) + ":bar:" + > b.getSomeOtherValue(getProperty(P)) + ":suffix" > > Is it possible to do this using to(...) or toF(...) ? > If so, what would the syntax be? > > Thanks > > Lars > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Dynamically-building-endpoint-tp5726286.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen