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

camel-endpoint-dsl - Generate fluent builders for endpoint headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.18.0
    • camel-endpointdsl, tooling
    • None
    • Unknown

    Description

      Now that every component has marked up the headers it supports, we can use that to generate fluent builders in camel-endpointdsl.

      This makes it easier to use from this, as you do not need to have the camel-xxx JAR on the classpath and setup in your editor. And you dont need to remember the class name of the class having the headers etc.

      from xxx
      setHeader(file().fileName(), constant("foo.txt"))
      setHeader(karaf().patititionKey(), constant("3"))

      Attachments

        Issue Links

          Activity

            People

              nfilotto Nicolas Filotto
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: