|
EsperDemo
This a simple demo showing how to integrate the Camel Esper component with ActiveMQ How to runGrab the source code and build it. Then change directory into the Esper demo cd examples/camel-esper-demo 1) in one shell just type: mvn camel:run This starts a java process with an embedded ActiveMQ message broker and a Camel route. This Camel route receives a flow of events coming from a JMS queue injecting them into a complex event processing flow based on a couple of Camel Esper components. 2) On another shell just type: mvn exec:java This starts a JMS producer that sends a stream of events to the queue hosted by the embedded message broker above. This demo is based on an Exper tutorial, look there for an exact meaning of the two Esper scripts in the demo |
Sign in to add a comment
Need to add this repo to pom.xml to run install:
<repository>
</repository>I had to change SNAPSHOT to M1