Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Executing the sample

Navigate to the <CEP_HOME>/samples/producers/wso2-event/ directory, and execute the following Ant command using another tab in the CLI:  ant -DstreamId=twitterFeed:1.0.0 -Dsn=01070112

 

Info

The other optional parameters that can be used in the above command are defined in the <CEP_HOME>/samples/producers/wso2-event/build.xml file.

 

This builds and runs the WSO2Event producer, which sends Twitter feed data to the CEP server. You view the details of the events that are sent as shown below.

events published to the CEP serverYou view the CEP server receiving the output events in the logs of it in the CLI as shown below.

events received by the WSO2 CEP server