Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-44

EPI Content Enricher may not work if input content is a stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • servicemix-eip-2009.01
    • servicemix-eip
    • None
    • Everywhere

    • Patch Available

    Description

      If a normalized message that carries a stream is being sent to a content enricher endpoint the stream may no longer be readable for combining after calling the target, if the target has read the stream. Obviously, a stream cannot be read more than once.

      Since the content enricher relies on the fact that the input content is an XML document, we find it appropriate to turn any source input into a dom first before sending the message to the target.

      Would you please kindly consider the patch that we have attached.

      Best Regards

      Martin Landua

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            mlandua Martin Landua
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: