Package | Description |
---|---|
org.springframework.messaging.simp.config |
Configuration support for WebSocket messaging using higher level messaging protocols.
|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
Modifier and Type | Method and Description |
---|---|
protected MessageBrokerRegistry |
AbstractMessageBrokerConfiguration.getBrokerRegistry()
An accessor for the
MessageBrokerRegistry that ensures its one-time creation
and initialization through AbstractMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry) . |
MessageBrokerRegistry |
MessageBrokerRegistry.setApplicationDestinationPrefixes(java.lang.String... prefixes)
Configure one or more prefixes to filter destinations targeting application
annotated methods.
|
MessageBrokerRegistry |
MessageBrokerRegistry.setCacheLimit(int cacheLimit)
Configure the cache limit to apply for registrations with the broker.
|
MessageBrokerRegistry |
MessageBrokerRegistry.setPathMatcher(PathMatcher pathMatcher)
Configure the PathMatcher to use to match the destinations of incoming
messages to
@MessageMapping and @SubscribeMapping methods. |
MessageBrokerRegistry |
MessageBrokerRegistry.setUserDestinationPrefix(java.lang.String destinationPrefix)
Configure the prefix used to identify user destinations.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry registry)
A hook for subclasses to customize message broker configuration through the
provided
MessageBrokerRegistry instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebSocketMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry registry) |
void |
AbstractWebSocketMessageBrokerConfigurer.configureMessageBroker(MessageBrokerRegistry registry)
Deprecated.
|
default void |
WebSocketMessageBrokerConfigurer.configureMessageBroker(MessageBrokerRegistry registry)
Configure message broker options.
|