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(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.setPreservePublishOrder(boolean preservePublishOrder)
Whether the client must receive messages in the order of publication.
|
MessageBrokerRegistry |
MessageBrokerRegistry.setUserDestinationPrefix(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 |
---|---|
void |
AbstractWebSocketMessageBrokerConfigurer.configureMessageBroker(MessageBrokerRegistry registry)
Deprecated.
|
default void |
WebSocketMessageBrokerConfigurer.configureMessageBroker(MessageBrokerRegistry registry)
Configure message broker options.
|
protected void |
DelegatingWebSocketMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry registry) |