Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • Apache Ant to build & deploy the Sample & Service, and to run the client. Refer Installation Prerequisites for instructions to install Apache Ant.

...

  1. Install the WSO2 Complex Event Processor, Refer to the  Installation Guide for instructions.
  2. Now start the WSO2 Complex Event ProcessorRefer to the Running the Product  for instructions.
  3. Start WSO2 Message Broker with a port offset one (assuming setup is done on a single machine). Refer to the Running WSO2 MB for instructions. 
  4. Then configure WSO2 Message Broker as the JMS Broker for CEP server as described in Using WSO2 MB as A JMS Broker for WSO2 CEP Server
  5. Copy the above bucket configuration to <CEP_HOME>/repository/deployment/server/cepbuckets folder. Note that we have used the JMS Broker  "MBJmsBroker" created at step 4 in the bucket configuration. 

...

  1. Sign In. Enter your user name and password to log on to the Message Broker Management Console.

  2. Click on "Add" menu item under "Topics" Menu in Manage section of the left panel

  3. Specify the topic name in the topic input text box, in this case topic name is : "FastMovingStockQuotes" (the output topic) and click on 'Add Topic' button. This will add the topic to the server and you will be directed to the Topic Browser page.

  4. Once you click on the topic in topic browser page you will be able see four links as in the bellow image. Click in the subscribe link and you will be directed to Subscribe page. 

  5. Create subscription with following details. Once you are done click the Subscribe button.

    No Format
    topic		 : FastMovingStockQuotes (Output topic)
    subscription mode: Topic only subscription
    URL		 : http://localhost:9763/services/FastMovingStockQuoteService/getOMElement
    expiration Time	 : select a future date from calender

    Once you click on the "Subscribe" button, you will be directed to the Topic Browser page. 

  6. You can verify whether you have correctly subscribe to the topic by clicking on "Details" link of that topic in topic browser page. 

    Once you click on that, you will be directed to the "topic details" page and there you will find all the subscriptions for that topic and its children (in this case it does not exists) and permission on that topic. Apart from that with the publish section, you can publish a test XML message to that topic and check whether your subscription URL has been properly subscribed.


...