@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.amqp.rabbit.core.RabbitTemplate.class,com.rabbitmq.client.Channel.class}) @EnableConfigurationProperties(value=RabbitProperties.class) @Import(value=org.springframework.boot.autoconfigure.amqp.RabbitAnnotationDrivenConfiguration.class) public class RabbitAutoConfiguration extends ObjectSE
RabbitTemplate の場合は Auto-configuration。この設定クラスは、RabbitMQ および Spring AMQP クライアントライブラリがクラスパス上に存在する場合にのみ有効になります。
次の Bean を登録します。
RabbitTemplate。CachingConnectionFactory インスタンス。AmqpAdmin インスタンス。CachingConnectionFactory は、次のプロパティを尊重します。
| 修飾子と型 | クラスと説明 |
|---|---|
protected static class | RabbitAutoConfiguration.MessagingTemplateConfiguration |
protected static class | RabbitAutoConfiguration.RabbitConnectionFactoryCreator |
protected static class | RabbitAutoConfiguration.RabbitTemplateConfiguration |
| コンストラクターと説明 |
|---|
RabbitAutoConfiguration() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE