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.
-
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(org.springframework.util.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.