diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/launchers/interaction-launcher/src/main/java/scatours/LaunchIntactionNode.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sandbox/travelsample/launchers/interaction-launcher/src/main/java/scatours/LaunchIntactionNode.java b/sandbox/travelsample/launchers/interaction-launcher/src/main/java/scatours/LaunchIntactionNode.java index 1c9b20ab5a..507bb3c0f0 100644 --- a/sandbox/travelsample/launchers/interaction-launcher/src/main/java/scatours/LaunchIntactionNode.java +++ b/sandbox/travelsample/launchers/interaction-launcher/src/main/java/scatours/LaunchIntactionNode.java @@ -39,11 +39,13 @@ public class LaunchIntactionNode { new SCAContribution("common", "../../contributions/common-contribution/target/classes"),
new SCAContribution("currency", "../../contributions/currency-contribution/target/classes"),
new SCAContribution("calendar", "../../contributions/calendar-contribution/target/classes"),
+ new SCAContribution("shoppingcart", "../../contributions/shoppingcart-contribution/target/classes"),
new SCAContribution("client", "../../contributions/interaction-client-contribution/target/classes"));
SCANode node2 = SCANodeFactory.newInstance().createSCANode("client.composite",
new SCAContribution("common", "../../contributions/common-contribution/target/classes"),
new SCAContribution("hotel", "../../contributions/hotel-contribution/target/classes"),
+ new SCAContribution("flight", "../../contributions/flight-contribution/target/classes"),
new SCAContribution("remoteService", "../../contributions/interaction-service-remote-contribution/target/classes"));
node2.start();
@@ -58,6 +60,15 @@ public class LaunchIntactionNode { Runnable requestResponseInteraction = ((SCAClient)node1).getService(Runnable.class, "InteractionRequestResponseClient/Runnable");
requestResponseInteraction.run();
+ Runnable onewayCallbackInteraction = ((SCAClient)node1).getService(Runnable.class, "InteractionOneWayCallbackClient/Runnable");
+ onewayCallbackInteraction.run();
+
+ Runnable conversationalInteraction = ((SCAClient)node1).getService(Runnable.class, "InteractionConversationClient/Runnable");
+ conversationalInteraction.run();
+
+ Runnable statefulCallbackInteraction = ((SCAClient)node1).getService(Runnable.class, "InteractionStatefulCallbackClient/Runnable");
+ statefulCallbackInteraction.run();
+
node1.stop();
node2.stop();
|