[ 
https://issues.apache.org/jira/browse/AXIS-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572135#comment-14572135
 ] 

Chris Pimlott commented on AXIS-2910:
-------------------------------------

Created a pull request for this on github: 
https://github.com/apache/axis1-java/pull/1

Also available as a patch: https://github.com/apache/axis1-java/pull/1.diff

> DimeBodyPart.send does not close stream for dynamic content
> -----------------------------------------------------------
>
>                 Key: AXIS-2910
>                 URL: https://issues.apache.org/jira/browse/AXIS-2910
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>            Reporter: Chris Pimlott
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to