Resolves https://github.com/spring-projects/spring-amqp/issues/1309
If the `RabbitTemplate` was called from a `@TransactionalEventListener`,
with phase `AFTER_COMMIT`, a transaction is "active", but synchronizations
are already cleared. It is too late to synchronize this transaction.
We end up with an orphaned `ResourceHolder` with pending transaction commits.
Don't bind the resource holder if synchronization is not active.
However, the proper solution, if users want to synchronize the rabbit transaction
with the global transaction, is to use the `BEFORE_COMMIT` phase.
See the discussion on the Github issue for more information.
**cherry-pick to 2.2.x**
* Fix since version.
* Reset physical close required flag left over from another test.
* Capture test results for all modules.
* Remove `.travis.yml` since we rely now on GH Actions for PR checks
* Remove all the Travis mentioning when we couldn't pass build because of memory
* Fix `Arnaud Cogoluègnes` name in the `@author` list