Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6505

GenericFileMessage should override copy() method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.10.7, 2.11.2, 2.12.0
    • camel-core
    • 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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            ales_d Ales Dolecek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: