インターフェースの使用
org.springframework.messaging.SubscribableChannel
パッケージ
説明
シンプルなメッセージングプロトコル(STOMP など)からのメッセージを処理するためのクラスをサポートします。
「単純な」メッセージブローカの実装を、抽象基本クラスおよびサブスクリプションのレジストリなどの他のサポート型とともに提供します。
より高いレベルのメッセージングプロトコルを使用した WebSocket メッセージングの構成サポート。
シンプルなメッセージングプロトコル(STOMP など)の一般的なサポート。
「ユーザー」宛先へのメッセージの処理のサポート(つまり
Message
の実装と、MessageBuilder および MessageHeaderAccessor を実装して、メッセージおよびメッセージヘッダーの構築と操作、さまざまな MessageChannel
実装およびチャネルインターセプターサポートを提供します。Spring のメッセージングモジュール用の WebSocket 統合。
org.springframework.messaging.simp.annotation.support 内の SubscribableChannel 使用
修飾子コンストラクター説明SimpAnnotationMethodMessageHandler
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SimpMessageSendingOperations brokerTemplate) 指定されたメッセージチャネルとブローカーメッセージングテンプレートを使用して SimpAnnotationMethodMessageHandler のインスタンスを作成します。org.springframework.messaging.simp.broker 内の SubscribableChannel 使用
修飾子と型メソッド説明AbstractBrokerMessageHandler.getBrokerChannel()
AbstractBrokerMessageHandler.getClientInboundChannel()
修飾子コンストラクター説明AbstractBrokerMessageHandler
(SubscribableChannel inboundChannel, MessageChannel outboundChannel, SubscribableChannel brokerChannel) 宛先プレフィックスのないコンストラクター(すべての宛先に一致)。AbstractBrokerMessageHandler
(SubscribableChannel inboundChannel, MessageChannel outboundChannel, SubscribableChannel brokerChannel, CollectionSE<StringSE> destinationPrefixes) メッセージの宛先に一致する宛先プレフィックスを持つコンストラクター。SimpleBrokerMessageHandler
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SubscribableChannel brokerChannel, CollectionSE<StringSE> destinationPrefixes) 指定されたメッセージチャネルと宛先プレフィックスを使用して SimpleBrokerMessageHandler インスタンスを作成します。org.springframework.messaging.simp.config 内の SubscribableChannel 使用
修飾子と型メソッド説明protected abstract AbstractBrokerMessageHandler
AbstractBrokerRegistration.getMessageHandler
(SubscribableChannel brokerChannel) protected SimpleBrokerMessageHandler
SimpleBrokerRegistration.getMessageHandler
(SubscribableChannel brokerChannel) protected StompBrokerRelayMessageHandler
StompBrokerRelayRegistration.getMessageHandler
(SubscribableChannel brokerChannel) protected SimpleBrokerMessageHandler
MessageBrokerRegistry.getSimpleBroker
(SubscribableChannel brokerChannel) protected StompBrokerRelayMessageHandler
MessageBrokerRegistry.getStompBrokerRelay
(SubscribableChannel brokerChannel) 修飾子コンストラクター説明AbstractBrokerRegistration
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, StringSE[] destinationPrefixes) 新しいブローカー登録を作成します。MessageBrokerRegistry
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel) SimpleBrokerRegistration
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, StringSE[] destinationPrefixes) 新しいSimpleBrokerRegistration
を作成します。StompBrokerRelayRegistration
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, StringSE[] destinationPrefixes) 新しいStompBrokerRelayRegistration
を作成します。org.springframework.messaging.simp.stomp 内の SubscribableChannel 使用
修飾子コンストラクター説明StompBrokerRelayMessageHandler
(SubscribableChannel inboundChannel, MessageChannel outboundChannel, SubscribableChannel brokerChannel, CollectionSE<StringSE> destinationPrefixes) 指定されたメッセージチャネルと宛先プレフィックスを使用して StompBrokerRelayMessageHandler インスタンスを作成します。org.springframework.messaging.simp.user 内の SubscribableChannel 使用
修飾子コンストラクター説明UserDestinationMessageHandler
(SubscribableChannel clientInboundChannel, SubscribableChannel brokerChannel, UserDestinationResolver resolver) 指定されたクライアントとブローカーチャネルをサブスクライブしてインスタンスを作成し、それぞれからのメッセージを処理して、解決されたメッセージをブローカーチャネルに送信します。org.springframework.messaging.support 内の SubscribableChannel 使用
org.springframework.web.socket.messaging 内の SubscribableChannel 使用
修飾子コンストラクター説明SubProtocolWebSocketHandler
(MessageChannel clientInboundChannel, SubscribableChannel clientOutboundChannel) 指定された受信および送信チャネル用に新しいSubProtocolWebSocketHandler
を作成します。WebSocketAnnotationMethodMessageHandler
(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate)