クラス BrokerEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.core.BrokerEvent
- 実装されたすべてのインターフェース:
SerializableSE
Event Exchange プラグイン (https://www.rabbitmq.com/event-exchange.html).
- 導入:
- 2.1
- 作成者:
- Gary Russell
- 関連事項:
フィールドサマリー
クラス java.util.EventObjectSE から継承されたフィールド
sourceSE
コンストラクターのサマリー
コンストラクターコンストラクター説明BrokerEvent
(ObjectSE source, MessageProperties properties) 提供されたソースとプロパティを使用してインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明イベントMessageProperties.getHeaders()
のプロパティ。イベント型 (MessageProperties.getReceivedRoutingKey()
)。イベントを表すイベントからの完全なMessageProperties
。toString()
クラス org.springframework.context.ApplicationEvent から継承されたメソッド
getTimestamp
クラス java.util.EventObjectSE から継承されたメソッド
getSource
コンストラクターの詳細
BrokerEvent
提供されたソースとプロパティを使用してインスタンスを作成します。- パラメーター:
source
- ソース。properties
- プロパティ。
メソッドの詳細
getEventType
イベント型 (MessageProperties.getReceivedRoutingKey()
)。- 戻り値:
- 型。
getEventProperties
イベントMessageProperties.getHeaders()
のプロパティ。- 戻り値:
- プロパティ。
getMessageProperties
イベントを表すイベントからの完全なMessageProperties
。(本文は常に空白です)。- 戻り値:
- メッセージのプロパティ。
toString
- オーバーライド:
- クラス
EventObjectSE
のtoString