Willem Jiang created CAMEL-5440:
-----------------------------------
Summary: mock endpoint should not add the expect header check task
every time we call the expectedHeaderReceived()
Key: CAMEL-5440
URL: https://issues.apache.org/jira/browse/CAMEL-5440
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.10.0
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 2.10.1, 2.11
If the message header value can just be consumed once, the mockEndpoint will
complain the header value is null in second check, even the header value is
checked rightly once.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira