You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marc Carter (JIRA)" <ji...@apache.org> on 2013/07/17 16:06:48 UTC
[jira] [Created] (CAMEL-6558) UnitOfWork.getOriginalInMessage is
does not restore headers
Marc Carter created CAMEL-6558:
----------------------------------
Summary: UnitOfWork.getOriginalInMessage is does not restore headers
Key: CAMEL-6558
URL: https://issues.apache.org/jira/browse/CAMEL-6558
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.11.0
Reporter: Marc Carter
I noticed the map of headers is not restored to its original state when restoring the original message. I can't imagine this is by design...
Debugging shows the same instance of Map is being used so the "original" message is actually being mutated during the route execution.
{code}
exchange.getIn().getHeaders() == exchange.getUnitOfWork().getOriginalInMessage().getHeaders();
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira