You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2022/07/07 21:06:53 UTC
[cxf] branch main updated: Fixing cxf-systests-ws-specs tests
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new a79b210719 Fixing cxf-systests-ws-specs tests
a79b210719 is described below
commit a79b210719d6b0388dc56761b12c609d4d5f6a8a
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Thu Jul 7 17:01:58 2022 -0400
Fixing cxf-systests-ws-specs tests
---
.../java/org/apache/cxf/systest/ws/addressing/DecoupledJMSTest.java | 2 +-
.../java/org/apache/cxf/systest/ws/addressing/NonDecoupledJMSTest.java | 2 +-
.../test/java/org/apache/cxf/systest/ws/addressing/jms_decoupled.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/DecoupledJMSTest.java b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/DecoupledJMSTest.java
index 14d1ad6a01..b9f0230483 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/DecoupledJMSTest.java
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/DecoupledJMSTest.java
@@ -39,7 +39,7 @@ import static org.junit.Assert.assertTrue;
public class DecoupledJMSTest extends MAPTestBase {
static final String PORT = allocatePort(DecoupledJMSTest.class);
private static final String ADDRESS = "jms:jndi:dynamicQueues/testqueue0001?"
- + "jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+ + "jndiInitialContextFactory=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory"
+ "&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:"
+ EmbeddedJMSBrokerLauncher.PORT;
diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledJMSTest.java b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledJMSTest.java
index 77a23c57bf..5e3ee43118 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledJMSTest.java
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledJMSTest.java
@@ -39,7 +39,7 @@ import static org.junit.Assert.assertTrue;
public class NonDecoupledJMSTest extends MAPTestBase {
static final String PORT = allocatePort(NonDecoupledJMSTest.class);
private static final String ADDRESS = "jms:jndi:dynamicQueues/testqueue0002?"
- + "jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+ + "jndiInitialContextFactory=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory"
+ "&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:"
+ EmbeddedJMSBrokerLauncher.PORT;
diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/jms_decoupled.xml b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/jms_decoupled.xml
index 290d12a268..1d6a4c0fe2 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/jms_decoupled.xml
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/jms_decoupled.xml
@@ -25,7 +25,7 @@
<import resource="wsa_interceptors.xml"/>
<jaxws:client name="{http://apache.org/hello_world_soap_http}GreeterPort" createdFromAPI="true">
<jaxws:properties>
- <entry key="org.apache.cxf.ws.addressing.replyto" value="jms:jndi:dynamicQueues/testreplyto?jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
+ <entry key="org.apache.cxf.ws.addressing.replyto" value="jms:jndi:dynamicQueues/testreplyto?jndiInitialContextFactory=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
</jaxws:properties>
</jaxws:client>
</beans>
\ No newline at end of file