SpringSource/spring-amqp — pull request #54 by garyrussell (2012-07-13 16:26:13+00:00)
Title: AMQP-250 Template reply-queue Could Not be Anon. Backport

Backport to 1.1.x

If the reply queue was defined with an id (rather than name)
attribute, the template's reply container listened on
the wrong queue name.

The template parser set the container's queues attribute
to the reply-queue attribute value, instead of a
RuntimeBeanReference to a bean of that name.

When a was used, it worked because
the Queue that Spring created during property assignment
had the same name and all was fine (the container uses
the queue name).

Changed the parser to correctly use a bean reference instead.