クラス RabbitAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({org.springframework.amqp.rabbit.core.RabbitTemplate.class,com.rabbitmq.client.Channel.class})
@EnableConfigurationProperties(RabbitProperties.class)
@Import({org.springframework.boot.autoconfigure.amqp.RabbitAnnotationDrivenConfiguration.class,org.springframework.boot.autoconfigure.amqp.RabbitStreamConfiguration.class})
public class RabbitAutoConfiguration
extends ObjectSE
RabbitTemplate
の場合は Auto-configuration
。この構成クラスは、RabbitMQ および Spring AMQP クライアントライブラリがクラスパス上にある場合にのみアクティブになります。
次の Bean を登録します。
- コンテキスト内に同じ型の他の Bean がない場合は
RabbitTemplate
。 - コンテキスト内に同じ型の他の Bean がない場合は、
CachingConnectionFactory
インスタンス。 - spring.rabbitmq.dynamic = true である限り
AmqpAdmin
インスタンス。
- 導入:
- 1.0.0
- 作成者:
- Greg Turnquist, Josh Long, Stephane Nicoll, Gary Russell, Phillip Webb, Artsiom Yudovin, Chris Bono, Moritz Halbritter, Andy Wilkinson, Scott Frederick
ネストされたクラスのサマリー
ネストされたクラス修飾子と型クラス説明protected static class
protected static class
protected static class
コンストラクターの概要
コンストラクターメソッドのサマリー
コンストラクターの詳細
RabbitAutoConfiguration
public RabbitAutoConfiguration()