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

Claus Ibsen reassigned CAMEL-2630:
----------------------------------

    Assignee: Claus Ibsen

> Mock endpoint - Add header which records the time the Exchange arrived to the 
> mock
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-2630
>                 URL: https://issues.apache.org/jira/browse/CAMEL-2630
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>
> Then you can use that time information in testing.
> Maybe add some builder methods to mock so you can set expectations to have 
> arrival time
> - before X
> - after X
> - X after previous
> - X before next
> - etc.
> Maybe something along the lines of:
> {code}
> mock.message(1).arrives(2, seconds).afterPrevious();
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to