Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10425

java.io.IOException: Stream closed - When setting result from bean in route

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      Related to CAMEL-10424 which can cause an exception

      org.apache.camel.RuntimeCamelException: java.io.IOException: Stream closed
      	at org.apache.camel.http.common.HttpMessage.createBody(HttpMessage.java:74)
      	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:47)
      	at org.apache.camel.processor.CamelInternalProcessor$StreamCachingAdvice.after(CamelInternalProcessor.java:799)
      	at org.apache.camel.processor.CamelInternalProcessor$StreamCachingAdvice.after(CamelInternalProcessor.java:767)
      	at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:246)
      	at org.apache.camel.processor.RedeliveryErrorHandler.deliverToFailureProcessor(RedeliveryErrorHandler.java:1069)
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:120)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)
      	at org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:195)
      	at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:74)
      

      such as from:
      https://builds.apache.org/job/Camel.trunk.fulltest.java8/org.apache.camel$camel-example-spring-boot-rest-jpa/1002/testReport/junit/org.apache.camel.example.spring.boot.rest.jpa/ApplicationTest/newOrderTest/

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: