You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/09/02 09:46:52 UTC

[jira] Resolved: (SM-1180) in message truncated after first read from HTTP Consumer

     [ https://issues.apache.org/activemq/browse/SM-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-1180.
---------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: 3.3
       Resolution: Fixed

Sending        trunk/src/main/java/org/apache/servicemix/jbi/helper/MessageUtil.java
Transmitting file data .
Committed revision 691140.

Sending        servicemix-common/src/main/java/org/apache/servicemix/common/util/MessageUtil.java
Transmitting file data .
Committed revision 691141.

> in message truncated after first read from HTTP Consumer
> --------------------------------------------------------
>
>                 Key: SM-1180
>                 URL: https://issues.apache.org/activemq/browse/SM-1180
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.2.1
>         Environment: Windows XP, Linux, JDK 1.5.0_13
>            Reporter: Matt Pavlovich
>            Assignee: Guillaume Nodet
>             Fix For: 3.3
>
>         Attachments: enableContentRereadability-patch.txt
>
>
> Description derived from IRC conversation with Guillaume Nodet.
> SOAP input to a HTTP-consumer has the in msg truncated down to the xml prolog upon first read.  Using MesageuUtil.enableContentRereadability() should fix it; however, it does not support the StaxSource class.
> Also, (per Guillaume Nodet) writeExternal() on NormalizedMessageImpl should be converted to use enableContentRereadability(), instead of re-implementing similar code.  
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/messaging/NormalizedMessageImpl.java
> Needs to support StaxSource:
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/MessageUtil.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.