Versions Compared

Key

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

...

  1. Open a new terminal, go to <CEP_HOME>/samples/consumers/generic-log-service and run the command below. It builds the sample log service web app and deploys in the webapps repository that is relevant to the sample.

    Code Block
    ant -DsampleNoDsn=0105
  2. See the logs in CEP server when logger service is deploying. For example,

    After deployment, the Web app is able to receive messages sent from the CEP server. 

  3. Now go to <CEP_HOME>/samples/producers/http and execute the following command.

    Code Block
    ant -Durl=http://localhost:9763/endpoints/packageArrivalsHTTPReceiver -DfilePath=../../artifacts/0105/arrivalEvents.txt


    This reads the arrivalEvents.txt file which contains a few sample arrival events and then sends it to the url given.

  4. Then execute the following command:

    Code Block
    ant -Durl=http://localhost:9763/endpoints/packageDeliveryHTTPReceiver -DfilePath=../../artifacts/0105/deliveryEvents.txt

    This reads the deliveryEvents.txt file which contains some sample delivery events and then sends it tot the url given.

  5. After 2 minutes, we can see the outputs on the console as follows.