Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17635

camel-yaml-dsl - Configuring bean properties should use key/value style

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • Future
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rnetuka Radovan Netuka
              davsclaus Claus Ibsen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: