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

SplitAttachmentsExpression should set ID of splited attachment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.0
    • 2.14.1, 2.15.0
    • camel-mail
    • Novice

    Description

      The https://svn.apache.org/repos/asf/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/SplitAttachmentsExpression.java currently splits the attachments by each ID but do not provide the ID as an additional header.
      It would be usefull for the processing code to know the ID so they simply get them e.g. by getAttachment(header[CamelSplitAttachmentName]) instead of looking in the map for names etc. or iterate over it.

      Attachments

        1. CAMEL-8068.patch
          1 kB
          Christoph Läubrich

        Activity

          People

            davsclaus Claus Ibsen
            laeubi Christoph Läubrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: