From 16c0386c4ac6edd757ccb44f966a09dd425156a2 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 14 Apr 2009 11:49:08 +0000 Subject: Change JMS server port to try to avoid conflict on continuum server git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@764747 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/helloworld/HelloWorldServer.java | 2 +- .../helloworld-ws-service-jms/src/main/resources/definitions.xml | 2 +- .../src/main/resources/helloworldwsjms.composite | 2 +- .../src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java | 2 +- .../src/test/java/helloworld/HelloWorldJmsServerTestCase.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'branches/sca-java-1.x/samples/helloworld-ws-service-jms/src') diff --git a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java index 5454487ff6..28039b7965 100644 --- a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java +++ b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java @@ -33,7 +33,7 @@ public class HelloWorldServer { BrokerService jmsBroker = new BrokerService(); jmsBroker.setPersistent(false); jmsBroker.setUseJmx(false); - jmsBroker.addConnector("tcp://localhost:61619"); + jmsBroker.addConnector("tcp://localhost:61613"); jmsBroker.start(); return jmsBroker; } diff --git a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml index 8c881ab0bb..03bb2705ab 100644 --- a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml +++ b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml @@ -57,7 +57,7 @@ org.apache.activemq.jndi.ActiveMQInitialContextFactory - tcp://localhost:61619 + tcp://localhost:61613 QueueConnectionFactory diff --git a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite index 14b28e2e28..1181eac0ee 100644 --- a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite +++ b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite @@ -28,7 +28,7 @@ + uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61613"/> diff --git a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java index 34f8605d5d..1acdfa55f4 100644 --- a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java +++ b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java @@ -47,7 +47,7 @@ public class HelloWorldJmsPolicyServerTestCase{ jmsBroker = new BrokerService(); jmsBroker.setPersistent(false); jmsBroker.setUseJmx(false); - jmsBroker.addConnector("tcp://localhost:61619"); + jmsBroker.addConnector("tcp://localhost:61613"); jmsBroker.start(); } diff --git a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java index 409b975736..7d866eb7a8 100644 --- a/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java +++ b/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java @@ -48,7 +48,7 @@ public class HelloWorldJmsServerTestCase{ jmsBroker = new BrokerService(); jmsBroker.setPersistent(false); jmsBroker.setUseJmx(false); - jmsBroker.addConnector("tcp://localhost:61619"); + jmsBroker.addConnector("tcp://localhost:61613"); jmsBroker.start(); } -- cgit v1.2.3