diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-28 18:53:27 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-28 18:53:27 +0000 |
commit | 849c282ca8ad942a06512b8c5dcd0c87bcd6ff33 (patch) | |
tree | 28cd849b97033ea5756ff6c8194c5e2ef29a6abb /sca-java-1.x/trunk/tutorials/travelsample/launchers | |
parent | 15cf754c2ae8a8fef54cceaddfe43fcac6999ded (diff) |
Remove explicit use of JMS BrokerService
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@928474 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/launchers')
2 files changed, 1 insertions, 8 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/pom.xml index ea5ba3f930..b43706c55e 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/pom.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/pom.xml @@ -53,6 +53,7 @@ <artifactId>activemq-web-demo</artifactId>
</exclusion>
</exclusions>
+ <scope>runtime</scope>
</dependency>
<dependency>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/src/main/java/scatours/BuildingBlocksLauncher.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/src/main/java/scatours/BuildingBlocksLauncher.java index aaca0f44fa..741b502cf3 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/src/main/java/scatours/BuildingBlocksLauncher.java +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/src/main/java/scatours/BuildingBlocksLauncher.java @@ -19,7 +19,6 @@ package scatours;
-import org.apache.activemq.broker.BrokerService;
import org.apache.tuscany.sca.node.SCAClient;
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
@@ -64,11 +63,6 @@ public class BuildingBlocksLauncher { }
private static void runAppl() throws Exception {
- final BrokerService jmsBroker = new BrokerService();
- jmsBroker.setPersistent(false);
- jmsBroker.setUseJmx(false);
- jmsBroker.addConnector("tcp://localhost:61619");
-
SCANode node1 =
SCANodeFactory.newInstance().createSCANode("tours-appl.composite",
locate("introducing-trips"),
@@ -78,7 +72,6 @@ public class BuildingBlocksLauncher { SCANodeFactory.newInstance().createSCANode("tours-appl-client.composite",
locate("buildingblocks-client"));
- jmsBroker.start();
node1.start();
node2.start();
@@ -87,6 +80,5 @@ public class BuildingBlocksLauncher { node2.stop();
node1.stop();
- jmsBroker.stop();
}
}
|