AxonFramework/AxonFramework — pull request #77 by mglcel (2013-01-20 19:23:04+00:00)
Title: bugfix: amqp connection factory was not passed to the listener container, which causes issues with spring autowiring when multiple connection factories were defined

Manually defined connectionFactory in terminal is not passed to the listener container, which causes it to be autowired in the container, with error if there are more than one spring amqp connection factory defined in the context..

This patch ensure transmission of the factory from terminal to listener container if required, adapting the test configuration to check this behaviour.