Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12010

Mock endpoint - Should reset StreamCache when evaluating expecations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.19.4, 2.20.0
    • 2.19.5, 2.20.2, 2.21.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: