From 0171c408cd3745ec12ab191d05309ba245236172 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 2 Jun 2009 22:30:50 +0000 Subject: Add the changes and configuration necessary to allow the full travel sample to run under the control of the domain manager. The domain manager changes rely on some changes in order to run. Namely TUSCANY-3070/3075/3062. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@781189 13f79535-47bb-0310-9956-ffa450edef68 --- .../trip-contribution/src/main/java/scatours/trip/TripImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sandbox/travelsample/contributions/trip-contribution/src') diff --git a/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java b/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java index 8f30023330..06aeeb2c63 100644 --- a/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java +++ b/sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java @@ -95,7 +95,14 @@ public class TripImpl implements Search, Book { } public void searchAsynch(TripLeg tripLeg) { - + System.out.println("Starting trip search"); + + try { + this.wait(2000); + } catch(Exception ex){ + // do nothing + } + // return available hotels searchCallback.searchResults(searchSynch(tripLeg)); } -- cgit v1.2.3