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


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