upgrade Spring AMQP dependency to 1.0.0.RELEASE
This commit is contained in:
@@ -122,7 +122,7 @@ configure(javaprojects) {
|
||||
log4jVersion = '1.2.12'
|
||||
mockitoVersion = '1.8.4'
|
||||
springVersion = '3.0.5.RELEASE'
|
||||
springAmqpVersion = '1.0.0.RC3'
|
||||
springAmqpVersion = '1.0.0.RELEASE'
|
||||
springDataMongoVersion = '1.0.0.BUILD-SNAPSHOT'
|
||||
springDataCommonsVersion = '1.2.0.BUILD-SNAPSHOT'
|
||||
springDataRedisVersion = '1.0.0.BUILD-SNAPSHOT'
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.amqp</groupId>
|
||||
<artifactId>spring-rabbit</artifactId>
|
||||
<version>1.0.0.RC3</version>
|
||||
<version>1.0.0.RELEASE</version>
|
||||
<scope>compile</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.amqp.rabbit.connection.SingleConnectionFactory;
|
||||
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
|
||||
import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
@@ -36,7 +36,7 @@ public class OutboundGatewayIntegrationTests {
|
||||
@Test
|
||||
@Ignore // comment this out to test when a RabbitMQ broker is available
|
||||
public void run() throws Exception {
|
||||
SingleConnectionFactory connectionFactory = new SingleConnectionFactory();
|
||||
CachingConnectionFactory connectionFactory = new CachingConnectionFactory();
|
||||
RabbitTemplate template = new RabbitTemplate(connectionFactory);
|
||||
template.convertAndSend("si.test.exchange", "si.test.binding", "foo");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user