summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/helloworld-ws-service-jms/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-04-14 11:49:08 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-04-14 11:49:08 +0000
commit16c0386c4ac6edd757ccb44f966a09dd425156a2 (patch)
tree28880669b0ce374486014e908e815d5b4965e0c1 /branches/sca-java-1.x/samples/helloworld-ws-service-jms/src
parent37825c676c7d55e6cb3b0fcc33b59af31e3dcf3e (diff)
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
Diffstat (limited to 'branches/sca-java-1.x/samples/helloworld-ws-service-jms/src')
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/java/helloworld/HelloWorldServer.java2
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/definitions.xml2
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/main/resources/helloworldwsjms.composite2
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsPolicyServerTestCase.java2
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java2
5 files changed, 5 insertions, 5 deletions
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 @@
<tuscany:wsConfigParam>
<parameter name="TuscanyQueueConnectionFactory">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
- <parameter name="java.naming.provider.url">tcp://localhost:61619</parameter>
+ <parameter name="java.naming.provider.url">tcp://localhost:61613</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
</parameter>
</tuscany:wsConfigParam>
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 @@
<service name="HelloWorldService">
<interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
<binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding)"
- uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>
+ uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61613"/>
<binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapBinding)"/>
</service>
</component>
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();
}