クラスの使用
org.springframework.amqp.rabbit.core.RabbitTemplate
RabbitTemplate を使用するパッケージ
パッケージ
説明
Spring Rabbit のトップレベルクラスを提供します。
Spring Rabbit のコアクラスを提供します。
再試行をサポートするクラスを提供します。
Spring AMQP アプリケーションをテストするためのクラス。
org.springframework.amqp.rabbit 内の RabbitTemplate 使用
型 RabbitTemplate のパラメーターを持つ org.springframework.amqp.rabbit のコンストラクター修飾子コンストラクター説明AsyncRabbitTemplate(RabbitTemplate template) 提供された引数を使用してインスタンスを構築します。AsyncRabbitTemplate(RabbitTemplate template, AbstractMessageListenerContainer container) 提供された引数を使用してインスタンスを構築します。AsyncRabbitTemplate(RabbitTemplate template, AbstractMessageListenerContainer container, @Nullable StringSE replyAddress) 提供された引数を使用してインスタンスを構築します。org.springframework.amqp.rabbit.core 内の RabbitTemplate 使用
修飾子と型メソッド説明protected RabbitTemplateRabbitGatewaySupport.createRabbitTemplate(ConnectionFactory connectionFactory) 指定された ConnectionFactory の RabbitTemplate を作成します。RabbitAdmin.getRabbitTemplate()RabbitMessagingTemplate.getRabbitTemplate()型 RabbitTemplate のパラメーターを持つ org.springframework.amqp.rabbit.core のメソッド修飾子と型メソッド説明voidRabbitMessagingTemplate.setRabbitTemplate(RabbitTemplate rabbitTemplate) 使用するRabbitTemplateを設定します。型 RabbitTemplate のパラメーターを持つ org.springframework.amqp.rabbit.core のコンストラクター修飾子コンストラクター説明RabbitAdmin(RabbitTemplate rabbitTemplate) 提供されたRabbitTemplateを使用してインスタンスを構築します。RabbitMessagingTemplate(RabbitTemplate rabbitTemplate) 使用するRabbitTemplateを使用してインスタンスを作成します。org.springframework.amqp.rabbit.retry 内の RabbitTemplate 使用
型 RabbitTemplate のパラメーターを持つ org.springframework.amqp.rabbit.retry のコンストラクター修飾子コンストラクター説明RepublishMessageRecovererWithConfirms(RabbitTemplate errorTemplate, @Nullable Expression errorExchange, @Nullable Expression errorRoutingKey, CachingConnectionFactory.ConfirmType confirmType) 提供されたテンプレートを使用して、提供されたルーティングキーを使用して、提供された確認型のメッセージを提供された Exchange に発行します。RepublishMessageRecovererWithConfirms(RabbitTemplate errorTemplate, StringSE errorExchange, @Nullable StringSE errorRoutingKey, CachingConnectionFactory.ConfirmType confirmType) 提供されたテンプレートを使用して、提供されたルーティングキーを使用して、提供された確認型のメッセージを提供された Exchange に発行します。RepublishMessageRecovererWithConfirms(RabbitTemplate errorTemplate, StringSE errorExchange, CachingConnectionFactory.ConfirmType confirmType) 提供されたテンプレートを使用して、提供された確認型のメッセージを、デフォルトのルーティングキーを使用して提供された Exchange に発行します。RepublishMessageRecovererWithConfirms(RabbitTemplate errorTemplate, CachingConnectionFactory.ConfirmType confirmType) 提供されたテンプレートを使用して、提供された確認型でメッセージを公開します。org.springframework.amqp.rabbit.test 内の RabbitTemplate 使用