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

Unmarshal ZIP w/ error handling in Camel 3.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.2.0
    • camel-zipfile
    • None
    • Unknown

    Description

      I've following route
       
       

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
       <camelContext xmlns="http://camel.apache.org/schema/blueprint">
         <route>
           <from uri="file:/var/files/in?include=.*\.zip" />
           <unmarshal>
             <zipfile />
           </unmarshal>
           <log message="body: ${in.body}" />
           <to uri="file:/var/files/out" />
         </route>
       </camelContext>
      </blueprint>

       
      When I'm sending a corrupted ZIP file to this route I'd expect a Camel runtime error. This won't happen, I'm only getting an empty body.

      Attachments

        Issue Links

          Activity

            People

              omarsmak Omar Al-Safi
              catshout Gerald Kallas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m