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

Unmarshal ZIP w/ error handling in Camel 3.x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.2.0
    • Component/s: camel-zipfile
    • Labels:
      None
    • Estimated Complexity:
      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

              • Assignee:
                omarsmak Omar Al-Safi
                Reporter:
                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