[ https://issues.apache.org/activemq/browse/SM-401?page=all ]

Bruce Snyder updated SM-401:
----------------------------

    Attachment: JAXBMarshaller.java.diff.txt

> Don't attach message body as a property of a normalized message in the 
> JAXBMarshaller
> -------------------------------------------------------------------------------------
>
>          Key: SM-401
>          URL: https://issues.apache.org/activemq/browse/SM-401
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-wsn2005
>     Reporter: Bruce Snyder
>      Fix For: 3.0-M2
>  Attachments: JAXBMarshaller.java.diff.txt
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to