My favorites | Sign in
Project Logo
                
Search
for
Updated Feb 06, 2008 by james.strachan
Labels: Featured
EsperDemo  

This a simple demo showing how to integrate the Camel Esper component with ActiveMQ

How to run

Grab 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


Comment by sandhuqed, Sep 14, 2008

Need to add this repo to pom.xml to run install:

<repository>

<id>camel-extra-release</id> <name>Camel Extra Maven repository of releases</name> <url>http://camel-extra.googlecode.com/svn/maven2/releases</url>
</repository>

Comment by jrobensster, Jun 11, 2009

I had to change SNAPSHOT to M1

<parent>
<groupId>org.apache.camel</groupId> <artifactId>camel-parent</artifactId> <version>2.0-M1</version>
</parent>


Sign in to add a comment
Hosted by Google Code