Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions