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