Ivan,

I can't see how multiple threads can process the same message exchange in the 
same endpoint. This looks somehow impossible to me ;)

Regards
Lars


Am Mittwoch 10 September 2008 14:10:52 schrieb Ivan Pryvalov (JIRA):
>     [
> https://issues.apache.org/activemq/browse/SM-1569?page=com.atlassian.jira.p
>lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45592#action_4
>5592 ]
>
> 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

Reply via email to