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/car-contribution/src/main/java/scatours/car/CarImpl.java | |
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/car-contribution/src/main/java/scatours/car/CarImpl.java')
-rw-r--r-- | sandbox/travelsample/contributions/car-contribution/src/main/java/scatours/car/CarImpl.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sandbox/travelsample/contributions/car-contribution/src/main/java/scatours/car/CarImpl.java b/sandbox/travelsample/contributions/car-contribution/src/main/java/scatours/car/CarImpl.java index 6f3e81e6c2..2ed94333d7 100644 --- a/sandbox/travelsample/contributions/car-contribution/src/main/java/scatours/car/CarImpl.java +++ b/sandbox/travelsample/contributions/car-contribution/src/main/java/scatours/car/CarImpl.java @@ -89,7 +89,14 @@ public class CarImpl implements Search, Book { }
public void searchAsynch(TripLeg tripLeg) {
-
+ System.out.println("Starting car search");
+
+ try {
+ this.wait(4000);
+ } catch(Exception ex){
+ // do nothing
+ }
+
// return available hotels
searchCallback.searchResults(searchSynch(tripLeg));
}
|