Package org.springframework.messaging.simp.broker
@NonNullApi
@NonNullFields
package org.springframework.messaging.simp.broker
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
-
ClassDescriptionAbstract base class for a
MessageHandler
that broker messages to registered subscribers.Abstract base class for implementations ofSubscriptionRegistry
that looks up information in messages but delegates to abstract methods for the actual storage and retrieval.Event raised when a broker's availability changes.Implementation ofSubscriptionRegistry
that stores subscriptions in memory and uses aPathMatcher
for matching destinations.Decorator for anExecutorSubscribableChannel
that ensures messages are processed in the order they were published to the channel.A "simple" message broker that recognizes the message types defined inSimpMessageType
, keeps track of subscriptions with the help of aSubscriptionRegistry
, and sends messages to subscribers.A registry of subscription by session that allows looking up subscriptions.