diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-02 22:30:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-02 22:30:50 +0000 |
commit | 0171c408cd3745ec12ab191d05309ba245236172 (patch) | |
tree | bbaf705b47818a7850c5305160b6be6e47123fd7 /sandbox/travelsample/contributions/trip-contribution/src | |
parent | 26a0b619df3a85a84aadd780305a80dc495ef6e1 (diff) |
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
Diffstat (limited to 'sandbox/travelsample/contributions/trip-contribution/src')
-rw-r--r-- | sandbox/travelsample/contributions/trip-contribution/src/main/java/scatours/trip/TripImpl.java | 9 |
1 files changed, 8 insertions, 1 deletions
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));
}
|