Skip to content

Rename @PathVariable to @DestinationVariable in spring-messaging [SPR-11208] #15833

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions