2.2.x Maintenance

Build: #101 was successful Changes by Gary Russell

Code commits

Plan Repository

  • Gary Russell

    Gary Russell 00a19b0ac8ff1773292ff293853a41eb595a2a64

    GH-1359: After Receive Post Processor Invoked x2
    Resolves https://github.com/spring-projects/spring-amqp/issues/1359

    When the `RabbitTemplate` is configured with `afterReceivePostProcessors`
    and uses the default internal `DirectReplyToMessageListenerContainer`, the
    postprocessors are applied twice, once by the container and once by the
    template.

    The template should not propagate the post processors into the container.

    **cherry-pick to 2.3.x, 2.2.x**

    # Conflicts:
    #        spring-rabbit/src/main/java/org/springframework/amqp/rabbit/core/RabbitTemplate.java

    • spring-rabbit/src/main/java/org/springframework/amqp/rabbit/core/RabbitTemplate.java (version 00a19b0ac8ff1773292ff293853a41eb595a2a64)
    • spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/RabbitTemplateMPPIntegrationTests.java (version 00a19b0ac8ff1773292ff293853a41eb595a2a64)