Fix compatibility with latest Spring AMQP (#3352)

* Fix compatibility with latest Spring AMQP

* * Fix typo in the `amqp.adoc`
This commit is contained in:
Artem Bilan
2020-07-30 11:00:28 -04:00
committed by GitHub
parent ba5c80aff0
commit ea546c52d0
4 changed files with 40 additions and 21 deletions

View File

@@ -309,7 +309,7 @@ The following example shows how to configure an `AmqpMessageSource` with Java co
----
@Bean
public AmqpMessageSource source(ConnectionFactory connectionFactory) {
return new AmpqpMessageSource(connectionFactory, "someQueue");
return new AmqpMessageSource(connectionFactory, "someQueue");
}
----
====