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

ZipSplitter creates "null"-Message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.17.0
    • 2.17.1
    • camel-zipfile
    • None
    • Unknown

    Description

      While working with the ZipSplitter component of Camel i am encounter a problem.

      Splitting a ZIP-archive with say 2 files in it, leads to 3 message coming out of the split(). The additional message seems not to contain any data (header and body are null).

      I wrote a simple test case to show my case. The ZipIterator of Camel uses the default Java implementation to split ZIPs, so i added this method to the test as well to show the difference.

      I hope this helps to solve the problem.

      Best regards.

      Attachments

        1. CamelUnzipBugTest.java
          4 kB
          Hubertus Willuhn
        2. test.zip
          3 kB
          Hubertus Willuhn

        Activity

          People

            Unassigned Unassigned
            h.willuhn Hubertus Willuhn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: