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 3D4A3175A6 for ; Sat, 14 Feb 2015 15:38:12 +0000 (UTC) Received: (qmail 53069 invoked by uid 500); 14 Feb 2015 15:38:12 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 53031 invoked by uid 500); 14 Feb 2015 15:38:12 -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 53021 invoked by uid 99); 14 Feb 2015 15:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 15:38:12 +0000 Date: Sat, 14 Feb 2015 15:38:12 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-8345) We should use Properties instead of Property to define the properties in restConfiguration 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-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8345: ------------------------------- Issue Type: Improvement (was: Bug) > We should use Properties instead of Property to define the properties in restConfiguration > ------------------------------------------------------------------------------------------ > > Key: CAMEL-8345 > URL: https://issues.apache.org/jira/browse/CAMEL-8345 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.14.1 > Reporter: Willem Jiang > Assignee: Willem Jiang > Fix For: 2.15.0 > > > Current use xxxProperty to specify the properties, it is not the common usage. It could be better if we can fix it in Camel 2.15.0. > {code} > @XmlElement(name = "componentProperty") > private List componentProperties = new ArrayList(); > @XmlElement(name = "endpointProperty") > private List endpointProperties = new ArrayList(); > @XmlElement(name = "consumerProperty") > private List consumerProperties = new ArrayList(); > @XmlElement(name = "dataFormatProperty") > private List dataFormatProperties = new ArrayList(); > {code} > The XmlElement need to be changed to > {code} > @XmlElement(name = "componentProperties") > private List componentProperties = new ArrayList(); > @XmlElement(name = "endpointProperties") > private List endpointProperties = new ArrayList(); > @XmlElement(name = "consumerProperties") > private List consumerProperties = new ArrayList(); > @XmlElement(name = "dataFormatProperties") > private List dataFormatProperties = new ArrayList(); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)