You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomasz Kopczynski (JIRA)" <ji...@apache.org> on 2016/08/30 15:54:21 UTC

[jira] [Commented] (CAMEL-10096) Camel tracer with stream caching should tracer after stream cache has been setup

    [ https://issues.apache.org/jira/browse/CAMEL-10096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449377#comment-15449377 ] 

Tomasz Kopczynski commented on CAMEL-10096:
-------------------------------------------

Is it possible to cherry-pick this change to 2.16.4 version as well?

> Camel tracer with stream caching should tracer after stream cache has been setup
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-10096
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10096
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.17.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.17.3, 2.18.0
>
>
> When using tracer then it may run before stream caching gets kicked-in, which means the tracer may read the input stream causing the stream to not be re-readable by the stream caching, and therefore cause it to be empty.
> This only happens if you turn on stream cache bodies on the tracer, which is off by default. And if the input message is stream based that is no re-readable by itself.
> We should ensure the stream caching advice is run first so its applied before any tracer and other stuff going on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)