Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15130

camel-mail cannot extract attachments with the same filename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • fuse-7.9-GA
    • fuse-7.6-GA
    • Camel
    • None
    • False
    • False
    • % %
    • Undefined
    • Fuse Standalone
    • Hide

      from("imaps:///.....")
      .process(exchange ->

      { Map<String, DataHandler> attachments = exchange.getMessage().getAttachments(); // This map is missing one attachment }

      )
      .to("log:downloaded");

      Show
      from("imaps:///.....") .process(exchange -> { Map<String, DataHandler> attachments = exchange.getMessage().getAttachments(); // This map is missing one attachment } ) .to("log:downloaded");

    Description

      While using camel-mail component on fuse. I have an email with two attachments with the same filename and camel is extracting just one via the attachments API (beacuse it's generating a Map<String, DataHandler> where String is the filename.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            chardahe@redhat.com Chandrakant Hardahe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: