Uses of Class
org.springframework.messaging.simp.config.ChannelRegistration
Package
Description
Configuration support for WebSocket messaging using higher level messaging protocols.
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of ChannelRegistration in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionMessageBrokerRegistry.configureBrokerChannel()
Customize the channel used to send messages from the application to the message broker.Configure the givenExecutor
for this message channel, taking precedence over a task executor registration if any.protected ChannelRegistration
MessageBrokerRegistry.getBrokerChannelRegistration()
protected final ChannelRegistration
AbstractMessageBrokerConfiguration.getClientInboundChannelRegistration()
protected final ChannelRegistration
AbstractMessageBrokerConfiguration.getClientOutboundChannelRegistration()
ChannelRegistration.interceptors
(ChannelInterceptor... interceptors) Configure the given interceptors for this message channel, adding them to the channel's current list of interceptors.Modifier and TypeMethodDescriptionprotected void
AbstractMessageBrokerConfiguration.configureClientInboundChannel
(ChannelRegistration registration) A hook for subclasses to customize the message channel for inbound messages from WebSocket clients.protected void
AbstractMessageBrokerConfiguration.configureClientOutboundChannel
(ChannelRegistration registration) A hook for subclasses to customize the message channel for messages from the application or message broker to WebSocket clients. -
Uses of ChannelRegistration in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionprotected void
DelegatingWebSocketMessageBrokerConfiguration.configureClientInboundChannel
(ChannelRegistration registration) default void
WebSocketMessageBrokerConfigurer.configureClientInboundChannel
(ChannelRegistration registration) Configure theMessageChannel
used for incoming messages from WebSocket clients.protected void
DelegatingWebSocketMessageBrokerConfiguration.configureClientOutboundChannel
(ChannelRegistration registration) default void
WebSocketMessageBrokerConfigurer.configureClientOutboundChannel
(ChannelRegistration registration) Configure theMessageChannel
used for outbound messages to WebSocket clients.