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 83053F2B3 for ; Thu, 4 Apr 2013 05:54:43 +0000 (UTC) Received: (qmail 93273 invoked by uid 500); 4 Apr 2013 05:54:43 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 93227 invoked by uid 500); 4 Apr 2013 05:54:42 -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 93184 invoked by uid 99); 4 Apr 2013 05:54:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 05:54:40 +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 (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-ia0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 05:54:33 +0000 Received: by mail-ia0-f175.google.com with SMTP id e16so1967791iaa.34 for ; Wed, 03 Apr 2013 22:54:12 -0700 (PDT) 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=IjqJkBhvS/7RKzKe5P94ExdlHdFHHpymT6SXr2qxrwE=; b=rKrWhwAxNZ9bD6+sPjSw/qMTGQmaN9AzwUG7eFmfmf0qi7LTg31lVD9kNz2pjspQYd mv6jkOaIqykKU9l6yrepa1fdiT0rDF9xhy8oX243+3+ZPT3P69QBWTdV2OJbYzRyrqjd 7Yx0gApj0s4iwkP7UNgh//W1+20cNk3y+fguuHbo7LIi7O7eboQ+oMfC1T3FZiYqXeQG 6ChYQ3IIKlpm5qwV52Zi9RvofebGG6xD0GwcHFJKGtDS47/E5GHPLuJFV/RR2zk3fgAy bbmNkVKTexp4orbHnvomz+GKgCZWx6Jq7ljJJVVpU4J9TL0qPpN/L/xfnpEnNOmrE2LR idcA== X-Received: by 10.50.100.167 with SMTP id ez7mr9146944igb.3.1365054852326; Wed, 03 Apr 2013 22:54:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.53.232 with HTTP; Wed, 3 Apr 2013 22:53:52 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Thu, 4 Apr 2013 07:53:52 +0200 Message-ID: Subject: Re: placeholder in from uri To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Yes that is supported. See this FAQ why you can't use springs ${ } directly http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html And I guess you have already seen some of the information on http://camel.apache.org/using-propertyplaceholder.html On Thu, Apr 4, 2013 at 12:04 AM, Olivier Lamy wrote: > Ok for the nested properties. > But my other question concerns usage of property in from uri. > > Is that supported ? It looks the scheme is a minimum. > > > > 2013/4/3 Claus Ibsen : >> Hi >> >> You can use {{ }} in the .properties file then Camel will pick that up. >> >> Support for using nested Spring ${ } is being tracked by >> https://issues.apache.org/jira/browse/CAMEL-6233 >> >> And added in upcoming releases. >> >> >> On Wed, Apr 3, 2013 at 1:50 PM, Olivier Lamy wrote: >>> Hi, >>> >>> I'd like to be able to use something like: >>> >>> >>> >>> But I have issues with that. >>> Exception: >>> Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could >>> be found for: {{productImport.uri.location}}, please check your >>> classpath contains the needed Camel component jar. >>> >>> more details available here: https://gist.github.com/olamy/5298824 >>> >>> Is it possible to use a placeholder for the whole uri ? >>> Or the scheme (sftp, etc) is a minimum requited ? >>> >>> Thanks >>> -- >>> Olivier Lamy >>> Ecetera: http://ecetera.com.au >>> http://twitter.com/olamy | http://linkedin.com/in/olamy >> >> >> >> -- >> 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 > > > > -- > Olivier Lamy > Ecetera: http://ecetera.com.au > http://twitter.com/olamy | http://linkedin.com/in/olamy -- 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