WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. This documentation is for WSO2 Complex Event Processor 4.1.0. View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

Follow the steps below to send multiple events to a defined event stream using a datasource via the event simulator.

  1. Create a datasource. For instructions on creating a datasource, see Configuring an RDBMS Datasource.
  2. Log in to the product management console using the following URL: https://<PRODUCT_HOST>:<PRODUCT_PORT>/carbon/
  3. Click Tools, and then click Event Simulator.
  4. Select the Event Stream Name from the drop down list.
  5. Click switch to add configuration for simulate by database.
    switch to using a datasource to simulate the sending of events
  6. Enter the datasource information to be used when simulating the events, as shown below.

    Column types in the table of the datasource should match with the event stream attributes. Also, use either true or false as values for boolean type attributes that are defined in an event stream, when sending events via the event simulator.

    enter datasource details

  7. Click Test Connection, and then click Save, to test the connection and save it. When the configuration file gets hot deployed, click Play to simulate sending events via the database as shown below.
    sending events using the created datasource conection
  • No labels