mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-28 01:59:04 +00:00
Add public access to PathMatcher in WebSocket config
Issue: SPR-12845
This commit is contained in:
+8
@@ -223,6 +223,14 @@ public abstract class AbstractMessageBrokerConfiguration implements ApplicationC
|
||||
protected void configureMessageBroker(MessageBrokerRegistry registry) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide access to the configured PatchMatcher for access from other
|
||||
* configuration classes.
|
||||
*/
|
||||
public final PathMatcher getPathMatcher() {
|
||||
return getBrokerRegistry().getPathMatcher();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SimpAnnotationMethodMessageHandler simpAnnotationMethodMessageHandler() {
|
||||
SimpAnnotationMethodMessageHandler handler = createAnnotationMethodMessageHandler();
|
||||
|
||||
Reference in New Issue
Block a user