クラス BrokerEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.core.BrokerEvent
- 実装済みのインターフェース一覧:
SerializableSE
イベント交換プラグインによって生成されたブローカーイベントを表します。
- 導入:
- 2.1
- 作成者:
- Gary Russell, Artem Bilan
- 関連事項:
フィールド概要
クラス java.util.EventObjectSE から継承されたフィールド
sourceSEコンストラクター概要
コンストラクターコンストラクター説明BrokerEvent(ObjectSE source, MessageProperties properties) 提供されたソースとプロパティを使用してインスタンスを作成します。方法の概要
修飾子と型メソッド説明イベントMessageProperties.getHeaders()のプロパティ。@Nullable StringSEイベント型 (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