camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-12010) Mock endpoint - Should reset StreamCache when evaluating expecations
Date Wed, 15 Nov 2017 10:18:00 GMT

     [ 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)

Mime
View raw message