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/02/11 11:46:00 UTC

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

Claus Ibsen created CAMEL-17635:
-----------------------------------

             Summary: 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
             Fix For: 3.16.0


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.1#820001)