Pierre Fouché opened SPR-11208 and commented
I've noticed there are two distinct annotations @PathVariable
:
The well known org.springframework.web.bind.annotation.PathVariable
and the new org.springframework.messaging.handler.annotation.PathVariable.
This seems misleading to me, especially if one wants to mix standard @RequestMapping
with @MessageMapping
methods in the same controller.
Do we really need two annotations? They seem to have the same semantics.
Affects: 4.0 RC2
Referenced from: commits 92dad18