Sonar Build (Master) - https://sonar.spring.io/dashboard/index/org.springframework.amqp:spring-amqp-dist

Build: #3188 was successful Scheduled with changes by Gary Russell

Build result summary

Details

Completed
Duration
11 minutes
Labels
None
Agent
bamboo-12.af.pivotal.io
Revision
2c929ff8d95d1dbdd31dcb4439144ef0da78b67c 2c929ff8d95d1dbdd31dcb4439144ef0da78b67c
Successful since
#3160 ()

Sonar analysis results

ProjectQuality gate status
org.springframework.amqp:spring-amqp-dist:master

 Quality gate(s) unknown

Code commits

Author Commit Message Commit date
Gary Russell Gary Russell 2c929ff8d95d1dbdd31dcb4439144ef0da78b67c 2c929ff8d95d1dbdd31dcb4439144ef0da78b67c GH-1296: Fix DMLC Recovery: Missing Queue at Start
Resolves https://github.com/spring-projects/spring-amqp/issues/1296

- Add `MissingQueueEvent`
- Fix detection of a deleted queue in recovery - previously incorrectly used the
  absense of the queue in `consumersByQueue`, which can be empty if missing during
  start
- Add an index to `SimpleConsumer`
- When adjusting consumer counts, look for gaps in the index sequence because reducing
  the consumer count can remove any idle consumer.
- Change consumers to restart to a `Set` to avoid OOM when no broker
  (see https://github.com/spring-projects/spring-amqp/pull/642)
- Unconditionally add consumers to `consumersToRestart`

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

Jira issues

IssueDescriptionStatus
Unknown Issue TypeGH-1296Could not obtain issue details from Jira