Fast Flower Delivery
Progress® Apama® has an implementation for the Fast Flower Delivery example from the Event Processing in Action book by Opher Etzion and Peter Niblett. The implementation is done using Progress® Apama® Studio as an Apama Studio project, complete with dashboards and different run configurations. Although the source code can be reviewed in a text editor, you can view (and run it) through Apama Studio.
Try Progress Apama Studio
Click here: "Request for Demo" and fill out the request form to get personalized product download access and a demo of Apama.
After Apama is downloaded and installed, you can use Apama Studio.
Access the Fast Flower Delivery Apama Studio Project Archive
Please follow this link to get a zip copy of the archive file of the Fast Flower Delivery implementation in Apama Studio project. The archive file should be saved to a file system that is accessible by the installed Apama programs. Once this file is saved, it takes three easy steps to run the Fast Flower Delivery Apama Studio project archive on your machine:
-
Unzip the archive file
After downloading the Fast Flower Delivery Apama Studio project zip file, unzip it in a local directory that is accessible by the installed Apama programs, for example, C:\, on a Windows machine. Note, the zip file contents are organized in a top-level folder called "EPIA-FastFlowerDelivery", therefore, after unzipping, the files will be in a directory called, for example, C:\EPIA-FastFlowerDelivery\.
-
Import the project
Once the project archive file is unzipped on your local file system, it can be imported into Apama Studio. This can be achieved similarly as importing an Eclipse project that is already on a local file system in to an Eclipse workspace.
-
Run the project
There are two Run Configurations included in the project. One is for an automatic run, as in the file named “FastFlowerDelivery - Auto Run.launch”. The other is for manual runs, i.e., the customer flower orders are input by the user, as in the file named “FastFlowerDelivery - Manual Run.launch”.
To launch either one of the Run Configurations, first select the corresponding launch file, then click on the "Run As" menu item in Apama Studio. This will also launch the dashboards for the project.



