summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/LaunchNode.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/LaunchNode.java b/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/LaunchNode.java
index 4a4aa3070a..5a2bae53c0 100644
--- a/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/LaunchNode.java
+++ b/sandbox/travelsample/launchers/currency-converter-ws-launcher/src/main/java/scatours/LaunchNode.java
@@ -38,13 +38,19 @@ public class LaunchNode {
"currency-converter-ws.composite",currencyContribution, currencyWSContribution);
node.start();
+ System.out.println("Quick currency converter test");
CurrencyConverter converter = ((SCAClient)node).getService(
CurrencyConverter.class, "CurrencyConverter");
System.out.println("USD -> GBP = "
+ converter.getExchangeRate("USD", "GBP"));
System.out.println("100 USD = "
+ converter.convert("USD", "GBP", 100) + "GBP");
-
+
+ System.out.println("Node started - Press enter to shutdown.");
+ System.in.read();
+
+
+
node.stop();
}
}