[ 
https://issues.apache.org/activemq/browse/SM-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Heinemann resolved SM-1298.
--------------------------------

    Fix Version/s: 3.3
       Resolution: Fixed

Added workaround to solve this problem. The attachments are now buffered to a 
temp. file and deleted after sending.
Feel free to choose another solution in your own marshaler.


> servicemix-mail throws IOException "Socket closed" when trying to send an 
> attachment which uses StreamDataSource
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1298
>                 URL: https://issues.apache.org/activemq/browse/SM-1298
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>             Fix For: 3.3
>
>
> If an attachment uses the StreamDataSource, it gives IOException when trying 
> to send this attachment via email.
> The problem is, that the JavaMail tries to read the input stream of this data 
> source twice and that's not supported by the StreamDataSource.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to