spring-projects/spring-amqp — pull request #114 by garyrussell (2013-09-12 20:54:20+00:00)
Title: AMQP-332 Fix Multiple Listeners with Id

Previously, if the parent `` element
was given an Id, and multiple `` elements existed
only one listener container bean was defined - the parent
element Id was used for the bean name.

- Use the child element id if present
- Disallow multiple child elements with the same id
- If a single child element has no id, use the parent
- If multiple elements with the same id exist, use the parent id + '#n'.