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:59:00 UTC

[jira] [Updated] (CAMEL-17635) camel-yaml-dsl - Configuring bean properties should use key/value style

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

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

> camel-yaml-dsl - Configuring bean properties should use key/value style
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-17635
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17635
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> Yaml DSL has special beans configuration
> https://camel.apache.org/components/next/others/yaml-dsl.html#_defining_beans
> But the Camel DSL uses key/value style to be consistent across the DSLs (XML, Java etc) in the route template locale bean and other places
> Using array with key/value also makes this much easier for tooling as the XML XSD and JSon Schema contract can know about this - otherwise its just "object" which can be anything.



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