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

No documentation in camel-stax for XML DSL example

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.1
    • 3.18.2, 3.19.0
    • documentation
    • None
    • Unknown

    Description

      While doing some resarch on camel stax I found that the XML example is missing in the documentation: https://camel.apache.org/components/next/stax-component.html#_the_previous_example_with_xml_dsl

      I assume is going to be similar of what I've found in camel's github repo: https://github.com/apache/camel/blob/80b92e3624ae5db59a1a24a441f1b10b39eaa1a5/components/camel-stax/src/test/resources/org/apache/camel/component/stax/SpringStAXJAXBIteratorExpressionTest.xml

      And if we want to disable namespace awareness of the component we just need to add a second parameter with false 

      <constructor-arg index="1" value="false"/>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            wayqui José Bustamante
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment