Add public access to PathMatcher in WebSocket config
Issue: SPR-12845
This commit is contained in:
@@ -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