程序包 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.
接口概要 接口 说明 SubscriptionRegistry A registry of subscription by session that allows looking up subscriptions.类概要 类 说明 AbstractBrokerMessageHandler Abstract base class for aMessageHandlerthat broker messages to registered subscribers.AbstractSubscriptionRegistry Abstract base class for implementations ofSubscriptionRegistrythat looks up information in messages but delegates to abstract methods for the actual storage and retrieval.BrokerAvailabilityEvent Event raised when a broker's availability changes.DefaultSubscriptionRegistry Implementation ofSubscriptionRegistrythat stores subscriptions in memory and uses aPathMatcherfor matching destinations.SimpleBrokerMessageHandler A "simple" message broker that recognizes the message types defined inSimpMessageType, keeps track of subscriptions with the help of aSubscriptionRegistryand sends messages to subscribers.