Remove explicit use of JMS BrokerService

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@928474 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nash 2010-03-28 18:53:27 +00:00
parent 15cf754c2a
commit 849c282ca8
2 changed files with 1 additions and 8 deletions

View file

@ -53,6 +53,7 @@
<artifactId>activemq-web-demo</artifactId>
</exclusion>
</exclusions>
<scope>runtime</scope>
</dependency>
<dependency>

View file

@ -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();
}
}