Mock endpoint - Add header which records the time the Exchange arrived to the 
mock
----------------------------------------------------------------------------------

                 Key: CAMEL-2630
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2630
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: 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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to