Exchange get methods should not alter the object
------------------------------------------------
Key: CAMEL-2777
URL: https://issues.apache.org/activemq/browse/CAMEL-2777
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.3.0
Reporter: Roland Knight
Priority: Minor
The get methods such as getOut() should not modify (or change the behaviour) of
the Exchange object. For example simply by invoking getOut(), the behaviour of
the next step is changed since the out object is created (and is empty -
causing a blow up!). This is very easy to do when turning on debugging or
inspecting/watching variables.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.