Upgrade versions and fix deprecated in AMQP test

This commit is contained in:
Artem Bilan
2018-11-27 13:13:24 -05:00
parent d981171972
commit 0ef8dc569f
2 changed files with 12 additions and 12 deletions

View File

@@ -115,8 +115,8 @@ subprojects { subproject ->
jschVersion = '0.1.54'
jsonpathVersion = '2.4.0'
junit4Version = '4.12'
junitJupiterVersion = '5.3.1'
junitPlatformVersion = '1.3.1'
junitJupiterVersion = '5.3.2'
junitPlatformVersion = '1.3.2'
jythonVersion = '2.5.3'
kryoShadedVersion = '3.0.3'
lettuceVersion = '5.1.0.RELEASE'
@@ -126,20 +126,20 @@ subprojects { subproject ->
mysqlVersion = '8.0.11'
pahoMqttClientVersion = '1.2.0'
postgresVersion = '42.0.0'
reactorNettyVersion = '0.8.1.RELEASE'
reactorVersion = '3.2.1.RELEASE'
reactorNettyVersion = '0.8.3.RELEASE'
reactorVersion = '3.2.3.RELEASE'
romeToolsVersion = '1.9.0'
servletApiVersion = '4.0.0'
smackVersion = '4.3.1'
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.1.2.BUILD-SNAPSHOT'
springDataJpaVersion = '2.1.2.RELEASE'
springDataMongoVersion = '2.1.2.RELEASE'
springDataRedisVersion = '2.1.2.RELEASE'
springGemfireVersion = '2.1.2.RELEASE'
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.1.2.RELEASE'
springDataJpaVersion = '2.1.3.RELEASE'
springDataMongoVersion = '2.1.3.RELEASE'
springDataRedisVersion = '2.1.3.RELEASE'
springGemfireVersion = '2.1.3.RELEASE'
springSecurityVersion = '5.1.1.RELEASE'
springRetryVersion = '1.2.2.RELEASE'
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.1.3.BUILD-SNAPSHOT'
springWsVersion = '3.0.3.RELEASE'
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.1.3.RELEASE'
springWsVersion = '3.0.4.RELEASE'
tomcatVersion = "9.0.12"
xmlUnitVersion = '1.6'
xstreamVersion = '1.4.10'

View File

@@ -169,7 +169,7 @@ public class AmqpOutboundEndpointTests {
@Test
public void adapterWithContentType() throws Exception {
RabbitTemplate template = new RabbitTemplate(this.connectionFactory);
template.setQueue(this.queue.getName());
template.setDefaultReceiveQueue(this.queue.getName());
while (template.receive() != null) {
// drain
}