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

Allow customization of the JAXB underlying XMLStreamWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.1
    • 2.12.1, 2.13.0
    • camel-jaxb
    • None
    • Unknown

    Description

      Right now the jaxb component allows you to filter out non-xml characters. But there might be use cases where you'd want to do something other than just filter (maybe escape? http://blog.lesc.se/2009/03/escape-illegal-characters-with-jaxb-xml.html or replace with something else?) the non-xml characters. JAXB has a mechanism to allow pre-processing of the output of its marshaling and we should expose a way to customize that.

      Attachments

        1. CAMEL-6677.patch
          18 kB
          Christian Posta
        2. CAMEL-6677-2.patch
          19 kB
          Christian Posta

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              ceposta Christian Posta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: