changed default connection-factory value to 'rabbitConnectionFactory' to be consistent with the Spring AMQP listener-container
This commit is contained in:
@@ -111,7 +111,7 @@ abstract class AbstractAmqpInboundAdapterParser extends AbstractSingleBeanDefini
|
||||
"org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer");
|
||||
String connectionFactoryRef = element.getAttribute("connection-factory");
|
||||
if (!StringUtils.hasText(connectionFactoryRef)) {
|
||||
connectionFactoryRef = "connectionFactory";
|
||||
connectionFactoryRef = "rabbitConnectionFactory";
|
||||
}
|
||||
builder.addConstructorArgReference(connectionFactoryRef);
|
||||
for (String attributeName : CONTAINER_VALUE_ATTRIBUTES) {
|
||||
|
||||
Reference in New Issue
Block a user