Uses of Class
org.springframework.messaging.simp.config.MessageBrokerRegistry
Package
Description
Configuration support for WebSocket messaging using higher level messaging protocols.
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of MessageBrokerRegistry in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionprotected final MessageBrokerRegistry
AbstractMessageBrokerConfiguration.getBrokerRegistry
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) An accessor for theMessageBrokerRegistry
that ensures its one-time creation and initialization throughAbstractMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry)
.MessageBrokerRegistry.setApplicationDestinationPrefixes
(String... prefixes) Configure one or more prefixes to filter destinations targeting application annotated methods.MessageBrokerRegistry.setCacheLimit
(int cacheLimit) Configure the cache limit to apply for registrations with the broker.MessageBrokerRegistry.setPathMatcher
(PathMatcher pathMatcher) Configure the PathMatcher to use to match the destinations of incoming messages to@MessageMapping
and@SubscribeMapping
methods.MessageBrokerRegistry.setPreservePublishOrder
(boolean preservePublishOrder) Whether the client must receive messages in the order of publication.MessageBrokerRegistry.setUserDestinationPrefix
(String destinationPrefix) Configure the prefix used to identify user destinations.Modifier and TypeMethodDescriptionprotected void
AbstractMessageBrokerConfiguration.configureMessageBroker
(MessageBrokerRegistry registry) A hook for subclasses to customize message broker configuration through the providedMessageBrokerRegistry
instance. -
Uses of MessageBrokerRegistry in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionprotected void
DelegatingWebSocketMessageBrokerConfiguration.configureMessageBroker
(MessageBrokerRegistry registry) default void
WebSocketMessageBrokerConfigurer.configureMessageBroker
(MessageBrokerRegistry registry) Configure message broker options.