Stephan Siano created CAMEL-7087: ------------------------------------ Summary: StreamCache does not reset at the end of the pipeline Key: CAMEL-7087 URL: https://issues.apache.org/jira/browse/CAMEL-7087 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.12.2 Reporter: Stephan Siano
The StreamCache does not reset at the end of the pipeline. The following routes will not work as expected: from("direct:c").noStreamCaching().to("direct:d").to("mock:c"); from("direct:d").streamCaching().process(new TestProcessor()); (the test processor is a processor that reads the InputMessage) If another processor is added after the TestProcessor that does nothing, the routes will work as expected. This case is a bit synthetic, but in real life a route that starts with a InOut CXF endpoint, has an endpoint that generates a Stream and then writes the message content to an in only endpoint (file, FTP, log, etc.) will also fail, even if stream caching is enabled. -- This message was sent by Atlassian JIRA (v6.1.4#6159)