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

XML IO DSL do not load templatedRoutes without XML namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.3
    • 3.18.6, 3.20.3, 3.21.0, 4.0-M2, 4.0.0
    • None
    • None
    • Unknown

    Description

      XML IO DSL do not load templatedRoutes without XML namespace like this:

      <templatedRoutes>
          <templatedRoute routeTemplateRef="myTemplate" routeId="my-route">
              <parameter name="foo" value="fooVal"/>
              <parameter name="bar" value="barVal"/>
          </templatedRoute>
      </templatedRoutes>
      

      A possible workaround is to explicitly set the namespace, for instance like below:

      <templatedRoutes xmlns="http://camel.apache.org/schema/spring">
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tturek Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: