cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1212391 - in /cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms: JMSBrokerSetup.java MessageIdAsCorrelationIdJMSConduitTest.java
Date Fri, 09 Dec 2011 13:14:45 GMT
Author: ningjiang
Date: Fri Dec  9 13:14:44 2011
New Revision: 1212391

URL: http://svn.apache.org/viewvc?rev=1212391&view=rev
Log:
Fixed the jms unit test failure when upgrading ActiveMQ to 5.6.x

Modified:
    cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSBrokerSetup.java
    cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/MessageIdAsCorrelationIdJMSConduitTest.java

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSBrokerSetup.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSBrokerSetup.java?rev=1212391&r1=1212390&r2=1212391&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSBrokerSetup.java
(original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSBrokerSetup.java
Fri Dec  9 13:14:44 2011
@@ -82,6 +82,7 @@ public class JMSBrokerSetup {
                     broker.setTmpDataDirectory(new File("./target"));
                     broker.setPopulateJMSXUserID(true);
                     broker.addConnector(brokerUrl);
+                    broker.setUseJmx(false);
                     broker.start();
                     Thread.sleep(200);
                     notifyAll();

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/MessageIdAsCorrelationIdJMSConduitTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/MessageIdAsCorrelationIdJMSConduitTest.java?rev=1212391&r1=1212390&r2=1212391&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/MessageIdAsCorrelationIdJMSConduitTest.java
(original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/MessageIdAsCorrelationIdJMSConduitTest.java
Fri Dec  9 13:14:44 2011
@@ -68,6 +68,7 @@ public class MessageIdAsCorrelationIdJMS
 
         JMSConfiguration jmsConfig = new JMSConfiguration();
         jmsConfig.setTargetDestination("queue:test");
+        jmsConfig.setReplyDestination("queue:reply");
         jmsConfig.setConnectionFactory(connectionFactory);
 
         JMSConduit conduit = new JMSConduit(endpointInfo, target, jmsConfig, bus);



Mime
View raw message