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

Simpler attribute names in the XML DSL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.M4, 3.0.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: