The last article: WSO2 CEP - Hello World!, explained how to set up WSO2 CEP with a simple event processor. This article shows you the way to send events to the CEP using a Java client. Actually it is nothing more than an HTTP client which can send the event to the CEP through HTTP request.
Follow the previous article and setup the CEP engine. This article uses the same event processor and receiver defined in the previous article to test the Java client.
Create a new simple Maven project in Eclipse.
Give the Group Id: "com.javahelps" and Artifact Id: "cepclient" and click on the "Finish" button.