Blog write up available at: http://www.adrianmilne.com/complex-event-processing-made-easy/
Also featured on JavaLobby: http://java.dzone.com/articles/complex-event-processing-made
Simple project that illustrates the use of the Esper Complex Event Processing Engine. Purposefully left Unit Tests out to reduce size of code.
When the demo runs it will just simulate sending random temperature events through the processing engine. It will print debug messages to the console when it detects a sequence of events matching any of the 3 criteria statements we have defined (Critical, Warning, Monitor).
You will need Maven installed and working.
To run demo:
Open a terminal window
Navigate to the root directory of the project (where the pom.xml is)
'mvn clean install' (this will compile and build the project)
'mvn exec:java' (this will start running the demo - sending random temperature events)