Skip to content

Stomp Broker Relay may ignore configured destination prefixes [SPR-16265] #20812

@spring-projects-issues

Description

@spring-projects-issues

Rémi Alvergnat opened SPR-16265 and commented

There's a bug in StompHeaderAccessor class, method updateStompCommandAsClientMessage.

Problem occurs when getCommand() returns null. setHeader is called with SEND command, but command variable is not set after that and method returns null instead of SEND

It cause the stomp broker relay to ignore destination prefixes because command is null (see StompBrokerRelayMessageHandler L507).


Affects: 4.3.13, 5.0.2

Reference URL: #1616

Issue Links:

Referenced from: commits 4fe94df, 76dcde9

Backported to: 4.3.14

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)status: backportedAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions