このバージョンはまだ開発中であり、まだ安定しているとは見なされていません。最新の安定バージョンについては、Spring AMQP 4.1.1 を使用してください! |
新着情報
4.1 以降の 4.2 の変更点
TLS ホスト名の検証
The RabbitConnectionFactoryBean#setEnableHostnameVerification(boolean) is deprecated now. Since amqp-client 5.33, hostname verification is enabled automatically whenever TLS is configured through useSslProtocol. See 接続とリソースの管理 for more information.
For the same reason, the verifyHostname property on the Logback and Log4j 2 AmqpAppender s is also deprecated now. See ロギングサブシステム AMQP アペンダ for more information.
@RabbitListener Batch Overrides
The @RabbitListener annotation has new batchSize() and batchReceiveTimeout() attributes to override the respective container factory properties for a single listener. See バッチ処理を伴う @RabbitListener for more information.
Routing AMQP Connection Factory
The spring-rabbitmq-client module now provides an AbstractRoutingAmqpConnectionFactory (and a SimpleRoutingAmqpConnectionFactory implementation) to route to one of several AmqpConnectionFactory instances based on a runtime lookupKey. See ルーティング接続ファクトリ for more information.
RestClientNodeLocator
A new RestClientNodeLocator is now the default non-reactive NodeLocator implementation for the LocalizedQueueConnectionFactory. The RestTemplateNodeLocator is deprecated since the RestTemplate is deprecated in Spring Framework 7.1. See Queue Affinity and the LocalizedQueueConnectionFactory for more information.