Ales Dolecek created CAMEL-6505:
-----------------------------------
Summary: GenericFileMessage should override copy() method
Key: CAMEL-6505
URL: https://issues.apache.org/jira/browse/CAMEL-6505
Project: Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.11.0
Reporter: Ales Dolecek
Priority: Minor
Copy of GenericFileMessage should override copy() method and copy file
attribute from the copied message.
CAMEL-3060 has solved problem for toString
CAMEL-6499 which I have reported recently fixed minor issue of the previous fix
I was however hoping that the fix would correct add missing copy() override.
I do not understand the exact use of the file property since it is also put in
the body of the message. Is it all right to share same instance of GenericFile
between two GenericFileMessage instances? Since they share it in the body I
would expect sharing it in the file attribute is fine as well.
Ales
--
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