Spring AMQP - Master Branch - https://github.com/spring-projects/spring-amqp

Build: #1121 was successful Changes by Gary Russell

Code commits

Plan Repository

  • Gary Russell

    Gary Russell dde7a37350e21a5bbcce26122fbc49b3dd72238b

    GH-1026: Fix Delay with CacheMode.CONNECTION
    Fixes https://github.com/spring-projects/spring-amqp/issues/1026

    When using a `channelCheckoutTimeout` with `CacheModeConnection`,
    we incorrectly spin waiting for a connection until the timeout
    expires.

    We should only wait for a connection if the limit is exceeded.

    **cherry-pick to all supported**

    • spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactory.java (version dde7a37350e21a5bbcce26122fbc49b3dd72238b)
    • spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactoryTests.java (version dde7a37350e21a5bbcce26122fbc49b3dd72238b)