The latest version for DAS is WSO2 Data Analytics Server 3.1.0. View documentation for the latest release.
WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata


This sample demonstrates how to publish XML events via the logger transport. This sample does not do any processing on the outgoing events. Events are generated using an input event file and the Event Simulator.


Set up the prerequisites required for all samples

Building the sample 

Start the WSO2 DAS server with the sample configuration numbered 0053. For instructions, see Starting sample CEP configurations.

This sample configuration does the following.

  • Creates a stream with the ID org.wso2.event.sensor.stream_1.0.0.
  • Creates an event publisher named logger.
  • Loads the events stored in the <DAS_HOME>/samples/cep/artifacts/0053/eventsimulatorfiles/events.csv file to the Event Simulator.

Executing the sample

Follow the steps below to execute the sample.

  1. Log into the DAS Management Console.
  2. Click Tools, and then click Event Simulator.
  3. Click Play on the corresponding event stream as shown below, to send the events in the <DAS_HOME>/samples/cep/artifacts/0053/eventsimulatorfiles/events.csv file to the publisher.
    simulating sending events to WSO2 CEP via logger transport

    The XML events that are published to the DAS server are logged in the CLI as shown below.
    events published being logged in the WSO2 CEP server
  • No labels