Versions Compared

Key

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

...

  • Need to add necessary ActiveMQ jms related jars to the <CEP_HOME>/repository/components/lib directory of the CEP server (Please refer this ). Start the ActiveMQ server before CEP server starts. 
  • For Active MQ, copy the following JARs from ActiveMQ distribution directory to <CEP_HOME>/samples/lib directory:
    <ActiveMQ_HOME>/activemq-all-5.7.0.jar
    <ActiveMQ_HOME>/lib/ geronimo-jms_1.1_spec-1.1.1.jar

Building the Sample 

  1. Start the WSO2 CEP server with the sample number as ./wso2cep-samples.sh -sn 0003  (or on Windows, wso2cep-samples.bat -sn 0003). This will start up the server with the configuration files required for this samples.

    Here when executing the sample with above command. There are some operations occurred in the backend. There is file called "stream-manager-config.xml" copied to the <CEP_HOME>/repository/conf from the artifacts directory of the sample. This file will be used in the server startup to create the stream definitions to run the sample.

    Then, default Axis2 repo will be pointed to the directory <CEP_HOME>/sample/artifacts/0003 (by default Axis2 repo is <CEP_HOME>/repository/deployment/server). There will be limited functionality in sample server startup mode, then don't proceed much tasks in the server when it is start-up in the sample mode.

...