https://build.spring.io/browse/INT-MASTER-983/ Race between the poller and template to get the requeued message. Also add trace logging to the acknowledgment. **cherry-pick to 5.0.x** # Conflicts: # spring-integration-amqp/src/test/java/org/springframework/integration/amqp/inbound/AmqpMessageSourceIntegrationTests.java