You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/11 09:26:43 UTC
[jira] Created: (CAMEL-2630) Mock endpoint - Add header which
records the time the Exchange arrived to the mock
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