Update to Spring AMQP 1.3.4, Groovy 2.3.1

Also change rabbit tests to use "localhost" explicitly;
newer brokers don't allow guest except on localhost.
This commit is contained in:
Gary Russell
2014-05-29 14:15:14 -04:00
parent a5694cdc42
commit ddf89a08f0
5 changed files with 8 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ subprojects { subproject ->
derbyVersion = '10.10.1.1'
eclipseLinkVersion = '2.4.2'
ftpServerVersion = '1.0.6'
groovyVersion = '2.3.0'
groovyVersion = '2.3.1'
guavaVersion = '16.0.1'
hamcrestVersion = '1.3'
hibernateVersion = '4.2.11.Final'
@@ -107,7 +107,7 @@ subprojects { subproject ->
servletApiVersion = '3.1.0'
slf4jVersion = "1.7.6"
smackVersion = '3.2.1'
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '1.3.3.RELEASE'
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '1.3.4.RELEASE'
springDataMongoVersion = '1.5.0.RELEASE'
springDataRedisVersion = '1.3.0.RELEASE'
springGemfireVersion = '1.4.0.RELEASE'

View File

@@ -11,6 +11,6 @@
<int-amqp:publish-subscribe-channel id="foo" />
<rabbit:connection-factory id="rabbitConnectionFactory" />
<rabbit:connection-factory id="rabbitConnectionFactory" host="localhost" />
</beans>

View File

@@ -40,6 +40,6 @@
<rabbit:template id="amqpTemplate" connection-factory="connectionFactory"/>
<rabbit:connection-factory id="connectionFactory"/>
<rabbit:connection-factory id="connectionFactory" host="localhost" />
</beans:beans>

View File

@@ -128,7 +128,9 @@ public class ManualAckTests {
@Bean
public CachingConnectionFactory connectionFactory() {
return new CachingConnectionFactory();
CachingConnectionFactory connectionFactory = new CachingConnectionFactory();
connectionFactory.setHost("localhost");
return connectionFactory;
}
@Bean

View File

@@ -99,6 +99,7 @@ public class BrokerRunning extends TestWatcher {
@Override
public Statement apply(Statement base, Description description) {
CachingConnectionFactory connectionFactory = new CachingConnectionFactory();
connectionFactory.setHost("localhost");
try {