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

Option to add headers to MIME-Multipart in DataFormat

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: camel-mail
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      In some cases it might be useful to add Camel headers to a MIME Multipart when the MIME headers are part of the message body.

      The attached patch allows to transfer header (and attachment) information with protocols that support neither headers nor attachments (e.g. FTP).

      It adds one additional parameter to the MIME-Multipart DataFormat:

      includeHeaders: A regex that defines which Camel headers are also included as MIME headers into the MIME multipart. This will only work if headersInline is set to true.
      Default is to include no Camel headers.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              siano Stephan Siano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: