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

Simpler attribute names in the XML DSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.M4, 3.0.0
    • camel-core
    • None
    • Unknown

    Description

      Some part of the DSL expose verbose properties as example, the set header definition, has ha setHeaderName property which leads to an XML like:

      <setHeader headerName="Something"/>
      

      This is not wrong but the context gives enough information so it can be rewritten as:

      <setHeader name="Something"/>
      

      Which makes it shorter and does not impact comprehension.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: