You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Matt Pavlovich (JIRA)" <ji...@apache.org> on 2007/12/22 20:20:27 UTC
[jira] Updated: (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 ]
Matt Pavlovich updated SM-1180:
-------------------------------
Attachment: enableContentRereadability-patch.txt
This adds support for handling StaxSource objects in the enableContentRereadability() method of the MessageUtil class.
> 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
> 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.