You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2006/04/14 01:45:52 UTC

[jira] Resolved: (SM-401) Don't attach message body as a property of a normalized message in the JAXBMarshaller

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

    Resolution: Fixed

> 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
>     Assignee: 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