You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/29 07:25:02 UTC

[jira] [Resolved] (CAMEL-11604) New method expectedPropertyValuesReceivedInAnyOrder in MockEndpoint

     [ https://issues.apache.org/jira/browse/CAMEL-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-11604.
---------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.20.0

> New method expectedPropertyValuesReceivedInAnyOrder in MockEndpoint
> -------------------------------------------------------------------
>
>                 Key: CAMEL-11604
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11604
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.19.1
>            Reporter: Saravanakumar Selvaraj
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)