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

New method expectedPropertyValuesReceivedInAnyOrder in MockEndpoint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      MockEndpoint.expectedPropertyReceived always expects the property in the first exchange in the endpoint. So it does not function correctly when the endpoint expects more than one message exchange.

      There can be a new method introduced in MockEndpoint like expectedPropertyValuesReceivedInAnyOrder and this can be similar to expectedHeaderValuesReceivedInAnyOrder.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                saravanakumar Saravanakumar Selvaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: