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

Custom headers are not sent in the stomp message [SPR-11387] #16014

Closed
spring-projects-issues opened this issue Feb 4, 2014 · 0 comments
Closed
Assignees
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Feb 4, 2014

Jaimie Whiteside opened SPR-11387 and commented

When calling the convertAndSend(destination, object, headers) method of a SimpMessagingTemplate instance, the headers are not added to the stomp message which is sent to the subscribers.

The StompHeaderAccessor.toStompHeaderMap calls toNativeHeaderMap which adds the native header map to the stomp message.
However, the headers map parameter of the convertAndSend method are not included.

See the stackoverflow reference url for further discussion.


Affects: 4.0.1

Reference URL: http://stackoverflow.com/questions/21480352/custom-stomp-headers-using-spring-websockets

Referenced from: commits 46c0e45

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