Skip to content

Dynamically registration of ServerWebSocketContainer bean  #3533

@pinkeshsagar-harptec

Description

@pinkeshsagar-harptec

Expected Behavior

I should able to register ServerWebSocketContainer bean with help of application context.

Current Behavior

After dynamically registering ServerWebSocketContainer bean, the HandlerMapping is not getting updated for it's new path and mapping.

Context

I was trying to send notification via websocket on a particular topic but it does not allow to add dynamic topic to existing mappings. Besides that, I am not aware of any workarounds.

I have already asked a question related to this on stackoverflow. Here is the link: https://stackoverflow.com/questions/62553477/spring-integration-to-register-dynamic-serverwebsocketcontainer-paths-so-differe

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions