You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/02/13 04:29:12 UTC

[jira] [Created] (CAMEL-8345) We should use Properties instead of Property to define the properties in restConfiguration

Willem Jiang created CAMEL-8345:
-----------------------------------

             Summary: 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: Bug
          Components: camel-core
    Affects Versions: 2.14.1
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.15.0


Current <restConfiguration> 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<RestPropertyDefinition> componentProperties = new ArrayList<RestPropertyDefinition>();

    @XmlElement(name = "endpointProperty")
    private List<RestPropertyDefinition> endpointProperties = new ArrayList<RestPropertyDefinition>();

    @XmlElement(name = "consumerProperty")
    private List<RestPropertyDefinition> consumerProperties = new ArrayList<RestPropertyDefinition>();

    @XmlElement(name = "dataFormatProperty")
    private List<RestPropertyDefinition> dataFormatProperties = new ArrayList<RestPropertyDefinition>();
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)