クラス RabbitConnectionFactoryBeanConfigurer
java.lang.ObjectSE
org.springframework.boot.autoconfigure.amqp.RabbitConnectionFactoryBeanConfigurer
RabbitConnectionFactoryBean
を適切なデフォルトで構成します。- 導入:
- 2.6.0
- 作成者:
- Chris Bono, Moritz Halbritter, Andy Wilkinson, Phillip Webb, Scott Frederick
コンストラクターのサマリー
コンストラクター説明RabbitConnectionFactoryBeanConfigurer
(ResourceLoader resourceLoader, RabbitProperties properties) 指定されたresourceLoader
およびproperties
を使用する新しいコンフィギュラーを作成します。RabbitConnectionFactoryBeanConfigurer
(ResourceLoader resourceLoader, RabbitProperties properties, RabbitConnectionDetails connectionDetails) 指定されたresourceLoader
、properties
、connectionDetails
を使用する新しいコンフィギュラーを作成します。RabbitConnectionFactoryBeanConfigurer
(ResourceLoader resourceLoader, RabbitProperties properties, RabbitConnectionDetails connectionDetails, SslBundles sslBundles) 指定されたresourceLoader
、properties
、connectionDetails
、sslBundles
を使用する新しいコンフィギュラーを作成します。メソッドのサマリー
修飾子と型メソッド説明void
configure
(org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean factory) 指定された rabbit 接続ファクトリ Bean を構成します。void
setCredentialsProvider
(com.rabbitmq.client.impl.CredentialsProvider credentialsProvider) void
setCredentialsRefreshService
(com.rabbitmq.client.impl.CredentialsRefreshService credentialsRefreshService)
コンストラクターの詳細
RabbitConnectionFactoryBeanConfigurer
public RabbitConnectionFactoryBeanConfigurer(ResourceLoader resourceLoader, RabbitProperties properties) 指定されたresourceLoader
およびproperties
を使用する新しいコンフィギュラーを作成します。- パラメーター:
resourceLoader
- リソースローダーproperties
- プロパティ
RabbitConnectionFactoryBeanConfigurer
public RabbitConnectionFactoryBeanConfigurer(ResourceLoader resourceLoader, RabbitProperties properties, RabbitConnectionDetails connectionDetails) 指定されたresourceLoader
、properties
、connectionDetails
を使用する新しいコンフィギュラーを作成します。接続の詳細はプロパティよりも優先されます。- パラメーター:
resourceLoader
- リソースローダーproperties
- プロパティconnectionDetails
- 接続の詳細- 導入:
- 3.1.0
RabbitConnectionFactoryBeanConfigurer
public RabbitConnectionFactoryBeanConfigurer(ResourceLoader resourceLoader, RabbitProperties properties, RabbitConnectionDetails connectionDetails, SslBundles sslBundles) 指定されたresourceLoader
、properties
、connectionDetails
、sslBundles
を使用する新しいコンフィギュラーを作成します。接続の詳細はプロパティよりも優先されます。- パラメーター:
resourceLoader
- リソースローダーproperties
- プロパティconnectionDetails
- 接続の詳細sslBundles
- SSL バンドル- 導入:
- 3.2.0
メソッドの詳細
setCredentialsProvider
public void setCredentialsProvider(com.rabbitmq.client.impl.CredentialsProvider credentialsProvider) setCredentialsRefreshService
public void setCredentialsRefreshService(com.rabbitmq.client.impl.CredentialsRefreshService credentialsRefreshService) configure
public void configure(org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean factory) 指定された rabbit 接続ファクトリ Bean を構成します。提供時の Bean はさらに調整でき、デフォルト設定を上書きできます。ただし、RabbitConnectionFactoryBean.afterPropertiesSet()
を呼び出すのは呼び出し元の責任です。- パラメーター:
factory
- 構成するRabbitConnectionFactoryBean
インスタンス