Class AbstractMessageBrokerConfiguration

java.lang.Object
org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
All Implemented Interfaces:
Aware, ApplicationContextAware
Direct Known Subclasses:
WebSocketMessageBrokerConfigurationSupport

public abstract class AbstractMessageBrokerConfiguration extends Object implements ApplicationContextAware
Provides essential configuration for handling messages with simple messaging protocols such as STOMP.

clientInboundChannel(java.util.concurrent.Executor) and clientOutboundChannel(java.util.concurrent.Executor) deliver messages to and from remote clients to several message handlers such as the following.

brokerChannel(org.springframework.messaging.support.AbstractSubscribableChannel, org.springframework.messaging.support.AbstractSubscribableChannel, java.util.concurrent.Executor) delivers messages from within the application to the respective message handlers. brokerMessagingTemplate(org.springframework.messaging.support.AbstractSubscribableChannel, org.springframework.messaging.support.AbstractSubscribableChannel, org.springframework.messaging.support.AbstractSubscribableChannel, org.springframework.messaging.converter.CompositeMessageConverter) can be injected into any application component to send messages.

Subclasses are responsible for the parts of the configuration that feed messages to and from the client inbound/outbound channels (for example, STOMP over WebSocket).

Since:
4.0
Author:
Rossen Stoyanchev, Brian Clozel, Sebastien Deleuze