summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-08 12:14:40 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-08 12:14:40 +0000
commit2184b3c624b95520fd6ed4195742a2c5c4675395 (patch)
treea3c7edb20ccf76b59ce3626db11078e3af12c54b /branches/sca-java-1.x/samples
parent932b59dfbb4797065ad91e06cce1440de1121034 (diff)
Only create a transport description for the JMS transport if JMS is configured to be in use.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@751406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/samples')
-rw-r--r--branches/sca-java-1.x/samples/helloworld-ws-service-jms/src/test/java/helloworld/HelloWorldJmsServerTestCase.java14
1 files changed, 7 insertions, 7 deletions
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 03d566cc17..df34a8cd7f 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
@@ -43,13 +43,13 @@ public class HelloWorldJmsServerTestCase{
scaDomain = SCADomain.newInstance("helloworldwsjms.composite");
}
- protected void startBroker() throws Exception {
- jmsBroker = new BrokerService();
- jmsBroker.setPersistent(false);
- jmsBroker.setUseJmx(false);
- jmsBroker.addConnector("tcp://localhost:61619");
- jmsBroker.start();
- }
+ protected void startBroker() throws Exception {
+ jmsBroker = new BrokerService();
+ jmsBroker.setPersistent(false);
+ jmsBroker.setUseJmx(false);
+ jmsBroker.addConnector("tcp://localhost:61619");
+ jmsBroker.start();
+ }
@Test
public void testServiceCall() throws IOException {