Add public access to PathMatcher in WebSocket config
Issue: SPR-12845
This commit is contained in:
parent
beae336627
commit
ae3417133b
|
@ -223,6 +223,14 @@ public abstract class AbstractMessageBrokerConfiguration implements ApplicationC
|
||||||
protected void configureMessageBroker(MessageBrokerRegistry registry) {
|
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
|
@Bean
|
||||||
public SimpAnnotationMethodMessageHandler simpAnnotationMethodMessageHandler() {
|
public SimpAnnotationMethodMessageHandler simpAnnotationMethodMessageHandler() {
|
||||||
SimpAnnotationMethodMessageHandler handler = createAnnotationMethodMessageHandler();
|
SimpAnnotationMethodMessageHandler handler = createAnnotationMethodMessageHandler();
|
||||||
|
|
Loading…
Reference in New Issue