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

Gerhard Petracek resolved EXTCDI-24.
------------------------------------

    Fix Version/s: 1.0.0-SNAPSHOT
       Resolution: Fixed

> issue with MessageContextAware in a multithreaded environment
> -------------------------------------------------------------
>
>                 Key: EXTCDI-24
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-24
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JSE-Message
>            Reporter: Gerhard Petracek
>             Fix For: 1.0.0-SNAPSHOT
>
>
> MessageContextAware leads to possible issues in a multithreaded environment
> possible solutions:
> #1 MessageContext#cloneContext uses a deep copy to get instances which aren't 
> shared between threads
> #2 synchronization based on the shared instances of MessageContextAware
> #3 forward the current context as parameter instead of using 
> MessageContextAware
> #1 and #2 lead to possible performance issues -> #3 should be used to solve 
> the issue

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