java.io.IOException: Stream closed while reading the exchange body in camel
Issue
- We were getting
java.io.IOException: Stream closed
after logging the message using<log>
spring dsl method
Description. It should smoothly convert the StringReader message to String , and should have close the stream. Sample route:-
<route>
<from uri="switchyard://HttpService" />
<recipientList>
<method bean="ResolutionBean" method="someEndpoint"></method>
</recipientList>
<log message="Print body ${body}"/>
</route>
Environment
- Red Hat JBoss Fuse Service Works
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.