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

Spring Message headers are immutable

    XMLWordPrintableJSON

Details

    • Patch Available
    • Novice

    Description

      When SpringIntegrationMessage is copied from another SpringIntegrationMessage that already has siMessage headers, exception is thrown:
      java.lang.UnsupportedOperationException: MessageHeaders is immutable.
      Which is a valid exception since Spring Message headers (the whole message as well) are immutable.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              bkuzmic Boris Kuzmic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified