Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-401

Don't attach message body as a property of a normalized message in the JAXBMarshaller

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0-M2
    • servicemix-wsn2005
    • None

    Description

      The JAXBMarshaller is attaching the message body as both the content and a property on the normalized message. While this is not a problem in and of itself, the problem is that the message properties are serialized and the message body is not and evidently JAXB has generated some non-serializable objects for the property. Overriding the DefaultMarshaller.marshal() method to remove the statement that attaches the message body as a property should do the trick because the message body is just XML.

      Attachments

        1. JAXBMarshaller.java.diff.txt
          1.0 kB
          Bruce Snyder

        Activity

          People

            bsnyder Bruce Snyder
            bsnyder Bruce Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: