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