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

StompSubProtocolHandler makes the same assumption about header accessor as SimpleBrokerMessageHandler used to [SPR-14791] #19357

Closed
spring-projects-issues opened this issue Oct 10, 2016 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Oct 10, 2016

Dave Syer opened SPR-14791 and commented

Just like in #18851, StompSubProtocolHandler.getStompHeaderAccessor() makes an assumption about the content of the Message it is processing. In particular, it assumes that there is a MessageHeaderAccessor, but that isn't necessarily the case, for instance if the user has added a ChannelInterceptor that rebuilds the message and adds some headers by calling MessageBuilder.fromMessage(...).build().


Affects: 4.2.8, 4.3.3

Issue Links:

Referenced from: commits f5cd538, aff5d21, 66722af

Backported to: 4.2.9

@spring-projects-issues
Copy link
Collaborator Author

Dave Syer commented

We found a workaround in Spring Sleuth spring-cloud/spring-cloud-sleuth#276. I guess we can still consider this a valid improvement.

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement in: web Issues in web modules (web, webmvc, webflux, websocket) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.3.4 milestone Jan 11, 2019
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) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants