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/18 21:23:26 UTC

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

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


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.


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

Posted by "Matt Pavlovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45286#action_45286 ] 

Matt Pavlovich commented on SM-1180:
------------------------------------

Can I get this on the radar for 3.2.x or 3.3.x update?  Thanks.

> 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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Matt Pavlovich (JIRA)" <ji...@apache.org>.
     [ 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.