-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Carlos Rivas opened SPR-13271 and commented
I am working with Spring-websocket and I have the following problem:
@RequestMapping(value= "${myProperty}")
@MessageMapping("${myProperty}") -> If I use this placeholder, the URL is null. I am trying to put a placeholder within a @MessageMapping annotation in order to obtain the url from properties. I have managed to make it work with @RequestMapping but not with @MessageMapping.
I would like to indicate the URL using properties, that is ${myProperty} indicates the complete URL
Affects: 4.1.6, 4.1.7, 4.1.8
Reference URL: http://stackoverflow.com/questions/31185321/messagemapping-with-placeholders
Referenced from: commits 4b4efa9
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement