You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Martin Frei (Jira)" <ji...@apache.org> on 2022/08/15 11:37:00 UTC

[jira] [Created] (CAMEL-18396) NotifyBuilder.matches returns always true in conjunction with NotifyBuilderMatcher usage

Martin Frei created CAMEL-18396:
-----------------------------------

             Summary: NotifyBuilder.matches returns always true in conjunction with NotifyBuilderMatcher usage
                 Key: CAMEL-18396
                 URL: https://issues.apache.org/jira/browse/CAMEL-18396
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 3.18.1
            Reporter: Martin Frei


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.{{{}{}}}

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)