Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.11.0
-
None
-
Novice
Description
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