myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (EXTCDI-24) issue with MessageContextAware in a multithreaded environment
Date Fri, 18 Jun 2010 18:58:23 GMT
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.


Mime
View raw message