Versions Compared

Key

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

...

  • Points the default Axis2 repo to <CEP_HOME>/samplesamples/cep/artifacts/0114 (by default, the Axis2 repo is <CEP_HOME>/repository/deployment/server).

...

  1. Open a terminal, go to <CEP_HOME>/samples/cep/producers/wso2-event and run the following command:

    Code Block
    ant -DstreamId=org.wso2.sample.atm.transactions:1.0.0 -Dsn=0114

    It builds and runs the wso2event producer, which sends sample ATM transaction events to the CEP server.

  2. From the terminal opened, see the details of the events sent. 

    Info

    To configure host, port, username, password use -Dhost=xxxx -Dport=xxxx -Dusername=xxxx -Dpassword=xxxx

  3. After sending events, you can see the outputs from the CEP console (the outputs are logged by the logger which we use for this sample), given below is part of the console output of the logger when sending events from the producer.

...