[ 
https://issues.apache.org/activemq/browse/SM-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45592#action_45592
 ] 

Ivan Pryvalov commented on SM-1569:
-----------------------------------

>One remark:
>I am not sure if it is really needed to have the map synchronized as normally 
>dividing by message exchange id should be enough.

If we have multi-threading env, the only syncronized collection can give us 
ensure in safety. 
In case simple HashMap, behaviour of component can be unpredictable. 

> CleanUp tempFiles-attachments is not thread-safe
> ------------------------------------------------
>
>                 Key: SM-1569
>                 URL: https://issues.apache.org/activemq/browse/SM-1569
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: 3.3
>         Environment: SMX-3.3
>            Reporter: Ivan Pryvalov
>            Assignee: Lars Heinemann
>             Fix For: 3.3
>
>


-- 
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