summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/launchers
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/launchers')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/pom.xml1
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/launchers/buildingblocks/src/main/java/scatours/BuildingBlocksLauncher.java8
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();
}
}