Build: #99 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Code commits

Plan Repository

  • Gary Russell

    Gary Russell 4167e93fd6ccae9393d75051d6d337c744d3d854

    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**

    (cherry picked from commit dde7a37350e21a5bbcce26122fbc49b3dd72238b)

    # Conflicts:
    #        spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactory.java
    #        spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactoryTests.java

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