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-issuemaster opened this issue Aug 7, 2018 · 2 comments
Closed
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster 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:

  • #21561 Add setter for order for DefaultSimpUserRegistry

Referenced from: commits 430065c

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Aug 13, 2018

Rossen Stoyanchev commented

There is now an userRegistryOrder property on MessageBrokerRegistry.

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.