Files
spring-integration/spring-integration-samples/cafe

Instructions for running the CafeDemo sample
-------------------------------------------------------------------------------
1. See README.txt in the parent directory.

2. To run this sample as a standalone application simply execute the CafeDemo
   class in the org.springframework.integration.samples.cafe.xml package.

3. This sample is also configured to be a valid OSGi bundle. This means you can
   deploy the generated JAR into an OSGi environment providing that the Spring
   Integration bundles as well as other prerequisites (e.g., Spring Framework)
   were installed. For example: To deploy it on SpringSource dm Server simply
   drop the cafe-[version].jar file, located in the 'target' directory, to the
   'pickup' directory of the dm Server instance. You should see output similar
   to the following in the trace file:

. . . . . . . . . . . . .   			                                                     
   			                                                     System.out I -----------------------
[2009-07-11 01:43:04.614] task-scheduler-3                       System.out I Order #1
[2009-07-11 01:43:04.614] task-scheduler-3                       System.out I Iced MOCHA, 3 shots.
[2009-07-11 01:43:04.614] task-scheduler-3                       System.out I Hot LATTE, 2 shots.
[2009-07-11 01:43:04.614] task-scheduler-3                       System.out I -----------------------
[2009-07-11 01:43:04.618] task-scheduler-2                       System.out I task-scheduler-2 prepared cold drink #5 for order #5: iced 3 shot MOCHA
[2009-07-11 01:43:05.618] task-scheduler-2                       System.out I task-scheduler-2 prepared cold drink #6 for order #6: iced 3 shot MOCHA
[2009-07-11 01:43:06.618] task-scheduler-2                       System.out I task-scheduler-2 prepared cold drink #7 for order #7: iced 3 shot MOCHA
[2009-07-11 01:43:07.619] task-scheduler-2                       System.out I task-scheduler-2 prepared cold drink #8 for order #8: iced 3 shot MOCHA
[2009-07-11 01:43:08.619] task-scheduler-2                       System.out I task-scheduler-2 prepared cold drink #9 for order #9: iced 3 shot MOCHA
[2009-07-11 01:43:09.614] task-scheduler-3                       System.out I task-scheduler-3 prepared hot drink #2 for order #2: hot 2 shot LATTE
[2009-07-11 01:43:09.615] task-scheduler-3                       System.out I -----------------------
[2009-07-11 01:43:09.615] task-scheduler-3                       System.out I Order #2
[2009-07-11 01:43:09.615] task-scheduler-3                       System.out I Iced MOCHA, 3 shots.
[2009-07-11 01:43:09.615] task-scheduler-3                       System.out I Hot LATTE, 2 shots.
[2009-07-11 01:43:09.615] task-scheduler-3                       System.out I -----------------------
[2009-07-11 01:43:09.620] task-scheduler-2                       System.out I task-scheduler-2 prepared cold 
. . . . . . . . . . . . .
   			
Happy integration :-)