クラス ExchangeBuilder
java.lang.ObjectSE
org.springframework.amqp.core.AbstractBuilder
org.springframework.amqp.core.ExchangeBuilder
Exchange
を構築するための流れるような API を提供するビルダー。- 導入:
- 1.6
- 作成者:
- Gary Russell, Artem Bilan
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明管理インスタンス、またはこの交換を宣言する必要がある管理 Bean 名。自動削除フラグを設定します。<T extends Exchange>
Tbuild()
delayed()
遅延フラグを設定します。static ExchangeBuilder
directExchange
(StringSE name) DirectExchange
ビルダーを返します。durable
(boolean isDurable) 永続フラグを設定します。static ExchangeBuilder
fanoutExchange
(StringSE name) FanoutExchange
ビルダーを返します。static ExchangeBuilder
headersExchange
(StringSE name) HeadersExchange
ビルダーを返します。宣言時にプロパティの不一致などの例外を無視するように切り替えます。internal()
内部フラグを設定します。管理者による交換の宣言を無効にするように切り替えます。static ExchangeBuilder
topicExchange
(StringSE name) TopicExchange
ビルダーを返します。withArgument
(StringSE key, ObjectSE value) 引数を追加します。withArguments
(MapSE<StringSE, ObjectSE> arguments) 引数を追加します。クラス org.springframework.amqp.core.AbstractBuilder から継承されたメソッド
getArguments, getOrCreateArguments
コンストラクターの詳細
ExchangeBuilder
適切な型のインスタンスを構築します。- パラメーター:
name
- 取引所名type
- 型名- 導入:
- 1.6.7
- 関連事項:
メソッドの詳細
directExchange
DirectExchange
ビルダーを返します。- パラメーター:
name
- 名前。- 戻り値:
- ビルダー。
topicExchange
TopicExchange
ビルダーを返します。- パラメーター:
name
- 名前。- 戻り値:
- ビルダー。
fanoutExchange
FanoutExchange
ビルダーを返します。- パラメーター:
name
- 名前。- 戻り値:
- ビルダー。
headersExchange
HeadersExchange
ビルダーを返します。- パラメーター:
name
- 名前。- 戻り値:
- ビルダー。
autoDelete
自動削除フラグを設定します。- 戻り値:
- ビルダー。
durable
永続フラグを設定します。- パラメーター:
isDurable
- 永続フラグ (デフォルトは true)。- 戻り値:
- ビルダー。
withArgument
引数を追加します。- パラメーター:
key
- 引数キー。value
- 引数の値。- 戻り値:
- ビルダー。
withArguments
引数を追加します。- パラメーター:
arguments
- 引数マップ。- 戻り値:
- ビルダー。
alternate
internal
内部フラグを設定します。- 戻り値:
- ビルダー。
delayed
遅延フラグを設定します。- 戻り値:
- ビルダー。
ignoreDeclarationExceptions
宣言時にプロパティの不一致などの例外を無視するように切り替えます。- 戻り値:
- ビルダー。
- 導入:
- 2.0
suppressDeclaration
管理者による交換の宣言を無効にするように切り替えます。- 戻り値:
- ビルダー。
- 導入:
- 2.1
admins
管理インスタンス、またはこの交換を宣言する必要がある管理 Bean 名。- パラメーター:
admins
- 管理者。- 戻り値:
- ビルダー。
- 導入:
- 2.1
build