Skip to content

Allow server-side code to send DISCONNECT messages to the broker [SPR-12288] #16893

Closed
@spring-projects-issues

Description

@spring-projects-issues
Collaborator

Rob Winch opened SPR-12288 and commented

Spring Session needs the ability to disconnect a client from code on the server side (i.e. from a ChannelInterceptorAdapter) when a session expires. Ideally the solution will not require using STOMP specific APIs.


Affects: 4.1.1

Issue Links:

Referenced from: commits 01aa64c

0 votes, 6 watchers

Activity

spring-projects-issues

spring-projects-issues commented on Oct 14, 2014

@spring-projects-issues
CollaboratorAuthor

Rob Winch commented

Note that now that #16919 is resolved I am now able to perform disconnects necessary for Spring Session since I have a mapping of the HttpSession id to the WebSocketSession. This means in regards to Spring Session support this is not necessary for us to proceed at this point.

spring-projects-issues

spring-projects-issues commented on Oct 15, 2014

@spring-projects-issues
CollaboratorAuthor

Rossen Stoyanchev commented

I was wondering the same. That said I'll leave this open. Currently it works with the broker relay but should also work with the simple broker.

added this to the 4.1.2 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @rstoyanchev@spring-projects-issues

      Issue actions

        Allow server-side code to send DISCONNECT messages to the broker [SPR-12288] · Issue #16893 · spring-projects/spring-framework