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:
@@ -11,6 +11,6 @@
|
||||
|
||||
<int-amqp:publish-subscribe-channel id="foo" />
|
||||
|
||||
<rabbit:connection-factory id="rabbitConnectionFactory" />
|
||||
<rabbit:connection-factory id="rabbitConnectionFactory" host="localhost" />
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -128,7 +128,9 @@ public class ManualAckTests {
|
||||
|
||||
@Bean
|
||||
public CachingConnectionFactory connectionFactory() {
|
||||
return new CachingConnectionFactory();
|
||||
CachingConnectionFactory connectionFactory = new CachingConnectionFactory();
|
||||
connectionFactory.setHost("localhost");
|
||||
return connectionFactory;
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user