Top Description Interfaces Classes
module spring.messaging

Package org.springframework.messaging.simp.broker

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.

Interface Summary

Modifier and TypeInterface and Description
public interface
SubscriptionRegistry

A registry of subscription by session that allows looking up subscriptions.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractBrokerMessageHandler

Abstract base class for a MessageHandler that broker messages to registered subscribers.

public abstract class
AbstractSubscriptionRegistry

Abstract base class for implementations of SubscriptionRegistry that looks up information in messages but delegates to abstract methods for the actual storage and retrieval.

public class
BrokerAvailabilityEvent

Event raised when a broker's availability changes.

public class
DefaultSubscriptionRegistry

Implementation of SubscriptionRegistry that stores subscriptions in memory and uses a PathMatcher for matching destinations.

public class
OrderedMessageChannelDecorator

Decorator for an ExecutorSubscribableChannel that ensures messages are processed in the order they were published to the channel.

public class
SimpleBrokerMessageHandler

A "simple" message broker that recognizes the message types defined in SimpMessageType, keeps track of subscriptions with the help of a SubscriptionRegistry, and sends messages to subscribers.