Uses of Class
org.springframework.messaging.simp.config.MessageBrokerRegistry
Packages that use 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
Methods in org.springframework.messaging.simp.config that return MessageBrokerRegistryModifier and TypeMethodDescriptionprotected final MessageBrokerRegistryAbstractMessageBrokerConfiguration.getBrokerRegistry(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) An accessor for theMessageBrokerRegistrythat 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@MessageMappingand@SubscribeMappingmethods.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.Methods in org.springframework.messaging.simp.config with parameters of type MessageBrokerRegistryModifier and TypeMethodDescriptionprotected voidAbstractMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry registry) A hook for subclasses to customize message broker configuration through the providedMessageBrokerRegistryinstance. -
Uses of MessageBrokerRegistry in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation with parameters of type MessageBrokerRegistryModifier and TypeMethodDescriptionprotected voidDelegatingWebSocketMessageBrokerConfiguration.configureMessageBroker(MessageBrokerRegistry registry) default voidWebSocketMessageBrokerConfigurer.configureMessageBroker(MessageBrokerRegistry registry) Configure message broker options.