upgrade Spring AMQP dependency to 1.0.0.RELEASE

This commit is contained in:
Mark Fisher
2011-08-24 13:10:22 -04:00
parent 044ab4f064
commit 75b0d200a6
3 changed files with 4 additions and 4 deletions

View File

@@ -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'

View File

@@ -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>

View File

@@ -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");
}