You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/03 11:06:00 UTC

[jira] [Updated] (CAMEL-17634) camel-yaml-dsl - Align configuring properties on beans vs route template beans

     [ https://issues.apache.org/jira/browse/CAMEL-17634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-17634:
--------------------------------
    Fix Version/s: 3.x
                       (was: 3.19.0)

> camel-yaml-dsl - Align configuring properties on beans vs route template beans
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-17634
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17634
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-yaml-dsl
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> Its called property in route template vs properties in yaml beans
> eg
> {code}
>   template:
>     beans:
>       - name: dsBean
>         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
>         property:
>           - key: username
>             value: '{{username}}'
>           - key: password
>             value: '{{password}}'
>           - key: url
>             value: 'jdbc:postgresql://{{serverName}}:{{serverPort}}/{{databaseName}}'
>           - key: driverClassName
>             value: 'org.postgresql.Driver'
> {code}
> Should be renamed to
> {code}
>   template:
>     beans:
>       - name: dsBean
>         type: "#class:org.apache.commons.dbcp2.BasicDataSource"
>         properties:
>           - key: username
>             value: '{{username}}'
>           - key: password
>             value: '{{password}}'
>           - key: url
>             value: 'jdbc:postgresql://{{serverName}}:{{serverPort}}/{{databaseName}}'
>           - key: driverClassName
>             value: 'org.postgresql.Driver'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)