You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/11/15 10:18:00 UTC

[jira] [Resolved] (CAMEL-12010) Mock endpoint - Should reset StreamCache when evaluating expecations

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

Claus Ibsen resolved CAMEL-12010.
---------------------------------
    Resolution: Fixed

> Mock endpoint - Should reset StreamCache when evaluating expecations
> --------------------------------------------------------------------
>
>                 Key: CAMEL-12010
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12010
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.19.4, 2.20.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.19.5, 2.20.2, 2.21.0
>
>
> See
> http://camel.465427.n5.nabble.com/Setting-multiple-expectations-when-streamCaching-is-on-tp5815400.html
> When using stream caching then you may have 2+ expecations on mock endpoints that work on the message body. And then on the 2nd+ it may fail due the stream cache has not been reset, so the message body can be read from the beginning.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)