EPI Content Enricher may not work if input content is a stream
--------------------------------------------------------------
Key: SM-1099
URL: https://issues.apache.org/activemq/browse/SM-1099
Project: ServiceMix
Issue Type: Bug
Components: servicemix-eip
Affects Versions: 3.1
Environment: Everywhere
Reporter: Martin Landua
Attachments: servicemix-eip-patch-20071010.txt
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.