Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-24

issue with MessageContextAware in a multithreaded environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • JSE-Message
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: