You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Siano (JIRA)" <ji...@apache.org> on 2013/12/20 13:20:12 UTC

[jira] [Updated] (CAMEL-7087) StreamCache does not reset at the end of the pipeline

     [ https://issues.apache.org/jira/browse/CAMEL-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Siano updated CAMEL-7087:
---------------------------------

    Attachment: 0001-CAMEL-7087-StreamCache-does-not-reset-at-the-end-of-.patch

> 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
>         Attachments: 0001-CAMEL-7087-StreamCache-does-not-reset-at-the-end-of-.patch
>
>
> 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)