Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2910

DimeBodyPart.send does not close stream for dynamic content

    XMLWordPrintableJSON

Details

    Description

      The version of DimeBodyPart.send() for DynamicContentDataHandler leaves the input stream open after reading. This is bad practice and causes particular difficulties on Windows, which is much stricter than *nix about open file handles.

      In my case, I'm trying to use process files with an Axis1-based client using Apache Camel, but the open file stream is prevent the completed files from being moved.

      Attachments

        Issue Links

          Activity

            People

              veithen Andreas Veithen
              pimlottc Chris Pimlott
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: