Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1BAE19623 for ; Sat, 2 Apr 2016 06:35:25 +0000 (UTC) Received: (qmail 30402 invoked by uid 500); 2 Apr 2016 06:35:25 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 30327 invoked by uid 500); 2 Apr 2016 06:35:25 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 30298 invoked by uid 99); 2 Apr 2016 06:35:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2016 06:35:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 84FCD2C1F62 for ; Sat, 2 Apr 2016 06:35:25 +0000 (UTC) Date: Sat, 2 Apr 2016 06:35:25 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CAMEL-9793) PropertyPlaceHolder not loading Property, thinks it is a Parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-9793: ---------------------------------- Assignee: Claus Ibsen > PropertyPlaceHolder not loading Property, thinks it is a Parameter > ------------------------------------------------------------------ > > Key: CAMEL-9793 > URL: https://issues.apache.org/jira/browse/CAMEL-9793 > Project: Camel > Issue Type: Bug > Components: camel-swagger, rest > Affects Versions: 2.16.2, 2.17.0 > Reporter: Flavel Heyman > Assignee: Claus Ibsen > Priority: Minor > > When loading a standard rest service into Camel and setting up Swagger. > {code} > rest("{{BASE_URL}}").get("/{customerId}").description("...")... > {code} > The {{Base_URL}} portion is > 1. interpreted as a parameter much like {customerId}, i.e. the JSON displays: "{BASE_URL}" and "customerId" as the parameter name (removing outside curly brace) > 2. the associated property is not loaded from the properties file > The Property Place Holder portion though works for the rest-dsl configuration: > {code} > restConfiguration().apiProperty("api.title", "{{spring.application.name}}") > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)