Skip to content

SUBSCRIBE response message should match the original message destination [SPR-11648] #16271

@spring-projects-issues

Description

@spring-projects-issues

Brian Clozel opened SPR-11648 and commented

When subscribing to a particular destination, such as "/app/test, a Controller can send a response message directly to the WebSocket session (i.e. not through the broker):

@SubscribeMapping("/test")
public String test() {
  return "testPayload";
}

The destination of the response message is the lookup path of the destination "/test" - it should be the complete, original destination "/app/test".


Affects: 4.0.3

Issue Links:

Referenced from: commits ec0b672, 1c45d75

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions