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 09:27:00 UTC
[jira] [Created] (CAMEL-12010) Mock endpoint - Should reset
StreamCache when evaluating expecations
Claus Ibsen created CAMEL-12010:
-----------------------------------
Summary: 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.20.0, 2.19.4
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)