I want to develop a small chat with springs new websocket/stomp support. I guess i cannot use something like this:
@MessageMapping(\"/connect/{roomId}\") @SendTo
Yes the @MessageMapping annotation (javaadoc) and the reference docs both list all supported arguments and return value types.
@MessageMapping
Figured it out, you need to use @DestinationVariable instead of @PathVariable