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/12/15 02:03:23 UTC
[cxf] 01/02: Fixing jms_spec_demo
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
commit 9a36be5c61b1992247f7fdb416a4f0bb10f9c1d9
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Wed Dec 14 19:57:44 2022 -0500
Fixing jms_spec_demo
---
.../release/samples/jms_spec_demo/src/main/config/jms_greeter.wsdl | 4 ++--
.../jms_spec_demo/src/main/java/demo/jms_greeter/server/Server.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/distribution/src/main/release/samples/jms_spec_demo/src/main/config/jms_greeter.wsdl b/distribution/src/main/release/samples/jms_spec_demo/src/main/config/jms_greeter.wsdl
index a3b093255f..5f3659704f 100644
--- a/distribution/src/main/release/samples/jms_spec_demo/src/main/config/jms_greeter.wsdl
+++ b/distribution/src/main/release/samples/jms_spec_demo/src/main/config/jms_greeter.wsdl
@@ -84,7 +84,7 @@
<soapjms:jndiConnectionFactoryName>ConnectionFactory
</soapjms:jndiConnectionFactoryName>
<soapjms:jndiInitialContextFactory>
- org.apache.activemq.jndi.ActiveMQInitialContextFactory
+ org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory
</soapjms:jndiInitialContextFactory>
<soapjms:jndiURL>tcp://localhost:61616</soapjms:jndiURL>
<soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
@@ -117,7 +117,7 @@
</wsdl:binding>
<wsdl:service name="JMSGreeterService">
<wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort">
- <soap:address location="jms:jndi:dynamicQueues/test.cxf.jmstransport.queue?jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:61616"/>
+ <soap:address location="jms:jndi:dynamicQueues/test.cxf.jmstransport.queue?jndiInitialContextFactory=org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName=ConnectionFactory&jndiURL=tcp://localhost:61616"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
diff --git a/distribution/src/main/release/samples/jms_spec_demo/src/main/java/demo/jms_greeter/server/Server.java b/distribution/src/main/release/samples/jms_spec_demo/src/main/java/demo/jms_greeter/server/Server.java
index 76b0d0f244..33c8d48f75 100644
--- a/distribution/src/main/release/samples/jms_spec_demo/src/main/java/demo/jms_greeter/server/Server.java
+++ b/distribution/src/main/release/samples/jms_spec_demo/src/main/java/demo/jms_greeter/server/Server.java
@@ -29,7 +29,7 @@ public class Server {
System.out.println("Starting Server");
Object implementor = new GreeterJMSImpl();
String address = "jms:jndi:dynamicQueues/test.cxf.jmstransport.queue?jndiInitialContextFactory="
- + "org.apache.activemq.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName="
+ + "org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory&jndiConnectionFactoryName="
+ "ConnectionFactory&jndiURL=tcp://localhost:61616";
Endpoint.publish(address, implementor, new LoggingFeature());
}