Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More easily set the order on DefaultSimpUserRegistry [SPR-17142] #21679

Closed
spring-projects-issues opened this issue Aug 7, 2018 · 2 comments
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 7, 2018

Filip Hrisafov opened SPR-17142 and commented

With #21561 a setter was added on DefaultSimpUserRegistry. However, it is a bit "difficult" to set the order. I see two ways of doing it:

  • Provide a custom WebSocketMessageBrokerConfigurationSupport - which I don't like as I want to use the customizers
  • Provide a BeanPostProcessor - which I would also like to avoid as it seems like an overkill for calling a setter on a specific bean

Affects: 5.1 RC1

Issue Links:

Referenced from: commits 430065c

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Aug 13, 2018

Rossen Stoyanchev commented

There is now an userRegistryOrder property on MessageBrokerRegistry.

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Aug 13, 2018

Filip Hrisafov commented

This is great. Thanks a lot Rossen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants