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 --- .../src/main/java/scatours/hotel/HotelImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sandbox/travelsample/contributions/hotel-contribution/src') diff --git a/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java b/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java index 85eb4a592b..7109bd3d2e 100644 --- a/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java +++ b/sandbox/travelsample/contributions/hotel-contribution/src/main/java/scatours/hotel/HotelImpl.java @@ -105,7 +105,14 @@ public class HotelImpl implements Search, Book, HotelManagement { } public void searchAsynch(TripLeg tripLeg) { - + System.out.println("Starting hotel search"); + + try { + this.wait(1000); + } catch(Exception ex){ + // do nothing + } + // return available hotels searchCallback.searchResults(searchSynch(tripLeg)); } -- cgit v1.2.3