WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

Versions Compared


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


  • Creates a stream with the ID
  • Creates an event publisher named eventPublisher
  • Loads the events stored in the <CEP_HOME>/samples/cep/artifacts/0058/eventsimulatorfiles/events.csv file to the event simulator.


  1. Navigate to the <CEP_HOME>/samples/cep/consumers/wso2-event/ directory, and execute the following Ant command using another tab in the CLI: ant -Dsn=0058

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

    This builds the WSO2Event client which fetches the published events in the <CEP_HOME>/samples/cep/artifacts/0058/eventsimulatorfiles/events.csv file from the eventPublisher endpoint as shown below.

    output logs of the consumer

  2. Log in to the management console.
  3. Click Tools, and then click Event Simulator.
  4. Click Play on the corresponding event stream as shown below, to send the events in the <CEP_HOME>/samples/cep/artifacts/0058/eventsimulatorfiles/events.csv file to the publisher.
    simulating the sending of events to WSO2 CEPYou view the WSO2 events that are published to the CEP server in the logs of the consumer terminal as shown below.
    output logs of the published events in the consumer terminal