AMQP-437: Update Spring, RabbitMQ Versions

JIRA: https://jira.spring.io/browse/AMQP-437

Add a note about compatibility to the reference document.

Add Gradle Dependency Example to Quick Tour
This commit is contained in:
Gary Russell
2014-11-11 15:14:06 +02:00
committed by Artem Bilan
parent 30adfae9ec
commit 54e22b74b0
2 changed files with 19 additions and 2 deletions

View File

@@ -80,9 +80,9 @@ subprojects { subproject ->
log4jVersion = '1.2.17'
logbackVersion = '1.1.2'
mockitoVersion = '1.9.5'
rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '3.3.5'
rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '3.4.1'
springVersion = project.hasProperty('springVersion') ? project.springVersion : '4.1.1.RELEASE'
springVersion = project.hasProperty('springVersion') ? project.springVersion : '4.1.2.RELEASE'
springRetryVersion = '1.1.2.RELEASE'
}

View File

@@ -19,7 +19,24 @@
<artifactId>spring-rabbit</artifactId>
<version>${version}</version>
</dependency>]]></programlisting>
<para>
And for gradle:
</para>
<programlisting>compile 'org.springframework.amqp:spring-rabbit:${version}'</programlisting>
<section>
<title>Compatibility</title>
<para>
While the default Spring Framework version dependency is 4.1.x, Spring AMQP is generally compatible
with earlier versions of Spring Framework. Annotation-based listeners and the
<classname>RabbitMessagingTemplate</classname> require Spring Framework 4.1, however.
</para>
<para>
Similarly, the default <code>amqp-client</code> version is 3.4.x but the framework is
generally compatible with earlier versions. However, of course, features that rely
on newer client versions will not be available.
</para>
</section>
<section>
<title>Very, Very Quick</title>