ICEfaces
  1. ICEfaces
  2. ICE-6838

Messages to different destination servlet context paths can be incorrectly concatenated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P02
    • Fix Version/s: EE-1.8.2.GA_P03
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, Push Server

      Description

      When using multiple ICEfaces applications and Push Server, messages to be send from Push Server to the ICEfaces applications can be incorrectly concatenated, creating the possibility that app1 can receive a message intended for app2. This is only an issue with messages, namely dispose-views, being send from the Push Server to an ICEfaces application if multiple ICEfaces applications are in play.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24475 Tue May 03 12:41:34 MDT 2011 jack.van.ooststroom Fixed JIRA ICE-6838 : Messages to different destination servlet context paths can be incorrectly concatenated
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/net/messaging/MessageServiceClient.java
        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]
        Hide
        Jack Van Ooststroom added a comment -

        When using the publish methods to publish a message, messages are first being put in a MessagePipeline. Messages in the same MessagePipeline will be concatenated to form on bigger Message before it's being send out. The MessageServiceClient manages a collection of MessagePipeline, each mapped to an identifying key consisting of the Topic Name and Message Type. When HTTP is used as the underlying transport layer of the MessageServiceClient, the current key is not sufficient enough. Adding the Destination Servlet Context Path to the key ensures that Messages with different Destination Servlet Context Paths cannot be concatenated, which is mandatory for HTTP. JMS doesn't suffer from this. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - When using the publish methods to publish a message, messages are first being put in a MessagePipeline. Messages in the same MessagePipeline will be concatenated to form on bigger Message before it's being send out. The MessageServiceClient manages a collection of MessagePipeline, each mapped to an identifying key consisting of the Topic Name and Message Type. When HTTP is used as the underlying transport layer of the MessageServiceClient, the current key is not sufficient enough. Adding the Destination Servlet Context Path to the key ensures that Messages with different Destination Servlet Context Paths cannot be concatenated, which is mandatory for HTTP. JMS doesn't suffer from this. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: