T
- コンテナーファクトリ型。public abstract class AbstractRabbitListenerContainerFactoryConfigurer<T extends org.springframework.amqp.rabbit.config.AbstractRabbitListenerContainerFactory<?>> extends ObjectSE
RabbitListenerContainerFactory
を適切なデフォルトで設定します。修飾子 | コンストラクターと説明 |
---|---|
protected | AbstractRabbitListenerContainerFactoryConfigurer() 使用すべきではありません。 2.6.0 以降、2.8.0 で削除され AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties) を推奨 |
protected | AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties rabbitProperties) 指定された rabbitProperties を使用する新しいコンフィギュレーターを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
abstract void | configure(T factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory) 指定された rabbit リスナーコンテナーファクトリを構成します。 |
protected void | configure(T factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, RabbitProperties.AmqpContainer configuration) |
protected RabbitProperties | getRabbitProperties() |
protected void | setMessageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter) MessageConverter を使用するように設定するか、標準のコンバーターを使用する必要がある場合は null を設定します。 |
protected void | setMessageRecoverer(org.springframework.amqp.rabbit.retry.MessageRecoverer messageRecoverer) MessageRecoverer を使用するように設定するか、null をデフォルトに依存するように設定します。 |
protected void | setRabbitProperties(RabbitProperties rabbitProperties) 使用すべきではありません。 2.6.0 以降、2.8.0 で削除され AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties) を推奨 |
protected void | setRetryTemplateCustomizers(ListSE<RabbitRetryTemplateCustomizer> retryTemplateCustomizers) 使用する RabbitRetryTemplateCustomizer インスタンスを設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@DeprecatedSE protected AbstractRabbitListenerContainerFactoryConfigurer()
AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties)
を推奨 protected AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties rabbitProperties)
rabbitProperties
を使用する新しいコンフィギュレーターを作成します。rabbitProperties
- 使用するプロパティ protected void setMessageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter)
MessageConverter
を使用するように設定するか、標準のコンバーターを使用する必要がある場合は null
を設定します。messageConverter
- MessageConverter
protected void setMessageRecoverer(org.springframework.amqp.rabbit.retry.MessageRecoverer messageRecoverer)
MessageRecoverer
を使用するように設定するか、null
をデフォルトに依存するように設定します。messageRecoverer
- MessageRecoverer
protected void setRetryTemplateCustomizers(ListSE<RabbitRetryTemplateCustomizer> retryTemplateCustomizers)
RabbitRetryTemplateCustomizer
インスタンスを設定します。retryTemplateCustomizers
- 再試行テンプレートカスタマイザ @DeprecatedSE protected void setRabbitProperties(RabbitProperties rabbitProperties)
AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties)
を推奨 RabbitProperties
を設定します。rabbitProperties
- RabbitProperties
protected final RabbitProperties getRabbitProperties()
public abstract void configure(T factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
factory
- 構成する AbstractRabbitListenerContainerFactory
インスタンス connectionFactory
- 使用する ConnectionFactory
protected void configure(T factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, RabbitProperties.AmqpContainer configuration)