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

Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal [SPR-16264] #20811

Closed
spring-issuemaster opened this issue Dec 5, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Dec 5, 2017

Christoph Dreis opened SPR-16264 and commented

Hi,

similar to #20713 I found another improvement where unnecessary access to message headers is performed. This time in SimpleBrokerMessageHandler where we look for a user while this is only really needed for CONNECT/DISCONNECT messages. It's not as big as #20713, but I think nonetheless worthwhile.

The attached PR moves the access on the user header to only CONNECT/DISCONNECT messages in SimpleBrokerMessageHandler.

I'd appreciate if this PR gets accepted.

Cheers,
Christoph


Affects: 4.3.13

Referenced from: pull request #1614, and commits 0b77c88, f4e9fb5, bf88311

Backported to: 4.3.14

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Dec 5, 2017

Juergen Hoeller commented

Applied to master now; I'll backport it to 4.3.x ASAP.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Dec 6, 2017

Christoph Dreis commented

Thanks, Jürgen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.