Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16861

Spring WebSocket: Indicate Stomp disconnect event would be executed twice

    Details

      Description

      I am working with spring websocket, but with a true broker. It with ActiveMQ.

      Through my custom ChannelInterceptorAdapter. I have confirmed that the STOMP disconnect event is triggered twice when I close the connection manually from the client (Web Browser). (Apart: some times, very rarely, for the other two events Connect and Connected this same behavior happens, again very rarely)

      According with the replies of Sergy and Rossen it is normal or is expected in someway. It without matter if is handled that event through either ChannelInterceptorAdapter or SessionDisconnectEvent.

      Consider in add a special note about this behaviour in the current reference documentation.
      Perhaps in the 4.4.14. Events and Interception section. Where these classes appears together.

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              dr_pompeii Manuel Jordan
              Last updater:
              St├ęphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                25 weeks, 3 days ago