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

NotifyBuilder.matches returns always true in conjunction with NotifyBuilderMatcher usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.18.1
    • 3.18.2, 3.19.0
    • camel-core, camel-test
    • None
    • Unknown

    Description

      Take the following test as example:

      https://github.com/apache/camel/blob/camel-3.18.1/core/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java#L703

      And change the line to:

      mock.expectedBodiesReceivedInAnyOrder("XXXXX", "Bye World", "Hi World");

      The test would still pass.

       

       

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            MartinFrei Martin Frei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: