ServiceMix
  1. ServiceMix
  2. SM-1831

Messages with StaxSource content are not handled well when running in non-DEBUG mode

    Details

      Description

      In order to fully support StaxSource content across the platform, the following changes should be made:

      1. Rollup/merge the functionality in class org.apache.servicemix.jbi.jaxp.StaxSourceTransformer into class SourceTransformer. In order to maintain backwards compatibility, an empty org.apache.servicemix.jbi.jaxp.StaxSourceTransformer class should remain

      2. Rollup/merge the functionality in class org.apache.servicemix.soap.util.stax.StaxSource into class org.apache.servicemix.jbi.jaxp.StaxSource. In order to maintain backwards compatibility, an empty org.apache.servicemix.soap.util.stax.StaxSource class should remain that extends org.apache.servicemix.jbi.jaxp.StaxSource.

      Without this fix, flows that start with the new smx-jms consumer endpoints and require re-readable content have problems.

      Please backport this change to the 3.2.x branch.

        Activity

        Jean-Baptiste Onofré made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Fix Version/s servicemix-utils-1.5.0 [ 12316098 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Ron Gavlin made changes -
        Summary Merge StaxSource classes in packages org.apache.servicemix.soap.util.stax and org.apache.servicemix.jbi.jaxp and make soap.util.stax version extend jbi.jaxp version Messages with StaxSource content are not handled well when running in non-DEBUG mode
        Description There are two almost identical StaxSource classes in packages org.apache.servicemix.soap.util.stax and org.apache.servicemix.jbi.jaxp.

        These versions should be merged and the class in package org.apache.servicemix.soap.util.stax be made to simply extend the class in package org.apache.servicemix.jbi.jaxp.

        This will allow the org.apache.servicemix.jbi.jaxp.StaxSourceTransformer to transform instances of either class.

        Without this fix, flows that start with the new smx-jms consumer endpoints and require re-readable content have problems.

        Please backport this change to the 3.2.x branch.
        In order to fully support StaxSource content across the platform, the following changes should be made:

        1. Rollup/merge the functionality in class org.apache.servicemix.jbi.jaxp.StaxSourceTransformer into class SourceTransformer. In order to maintain backwards compatibility, an empty org.apache.servicemix.jbi.jaxp.StaxSourceTransformer class should remain

        2. Rollup/merge the functionality in class org.apache.servicemix.soap.util.stax.StaxSource into class org.apache.servicemix.jbi.jaxp.StaxSource. In order to maintain backwards compatibility, an empty org.apache.servicemix.soap.util.stax.StaxSource class should remain that extends org.apache.servicemix.jbi.jaxp.StaxSource.

        Without this fix, flows that start with the new smx-jms consumer endpoints and require re-readable content have problems.

        Please backport this change to the 3.2.x branch.
        Ron Gavlin made changes -
        Field Original Value New Value
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Ron Gavlin created issue -

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Ron Gavlin
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development