-
Notifications
You must be signed in to change notification settings - 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
Gunnar Hillert opened SPR-11063 and commented
We should probably have equivalent namespace support for annotations such as:
@EnableWebSocketMessageBroker
@EnableWebSocket
The workaround is fairly straight-forward, e.g. create a Java configuration class such as:
@Configuration
@EnableWebSocketMessageBroker
@EnableScheduling
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
...
And then import the configuration in the XML application context file:
<bean class="my.package.WebSocketConfig"/>
However, it would be nice to ultimately have feature-parity between the Java configuration and the XML namespace support.
Affects: 4.0 RC1
Referenced from: commits 3ac14e7, 10f5d96, 47ef45d
1 votes, 3 watchers
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