1

I've been following this sample of Using WSO2 MB as A JMS Broker for WSO2 CEP Server from the official WSO2 MB documentation. Since this doc doesn't support the latest version of CEP, tried integrating the MB with the CEP 3.1.0.

According to the given steps, to my knowledge the stream "org.wso2.sample.stock.quote.basic:1.0.0" should be automatically generated and appear on the Event Streams section once the CEP and MB is up and running. Am I heading in the right direction or should I create my own stream and move forward with the other steps? Did all the configuration changes according to the doc but then the stream ain't appearing on the Event Stream section.

Where could I have gone wrong ? Checked out this ticket as well but no use. Any help would be appreciated.

EDIT: By the way I tried this on Windows, should I be trying this on Linux ?

Community
  • 1
  • 1
Kulasangar
  • 9,046
  • 5
  • 51
  • 82
  • Can you try out with latest CEP release? 4.0.0 ot=r 4.1.0 – Thusitha Thilina Dayaratne Apr 19 '16 at 18:10
  • @ThusithaThilinaDayaratne Yup tried it with the latest one as well, din work. As per the doc the CEP shoule be having `Event Builder`, but then the latest one doesn't have. – Kulasangar Apr 20 '16 at 03:37
  • From CEP 4.0.0 onwards we do not have a concept of event builders but event receivers and publishers.Please refer [https://docs.wso2.com/display/CEP400/Architecture] – dnWick Apr 20 '16 at 04:08

1 Answers1

0

As Per the Link you need to start the cep server in sample mode pointing to sample number 0002. Please run ./wso2cep-samples.sh -sn 0002 -DportOffset=1 -Dqpid.dest_syntax=BUR (portoffset to correct value). Then mentioned stream will be deployed.

cheers.

dnWick
  • 393
  • 3
  • 14
  • I have started the cep 3.1.0 with above command and i could see the stream org.wso2.sample.stock.quote.basic:1.0.0. Are you getting any errors ? – dnWick Apr 20 '16 at 03:57
  • You're using the same version of MB as well? Nop i'm not getting any errors in the log. You tried it on Win ?? – Kulasangar Apr 20 '16 at 04:04
  • I only checked why the stream is not coming up. I have not setup the MB. I checked on a linux environment. Can you tell me the command you used to start in sample mode. – dnWick Apr 20 '16 at 04:12
  • Could we discuss it here https://chat.stackoverflow.com/rooms/109617/cep-and-mb-integration – Kulasangar Apr 20 '16 at 04:12
  • It should be wso2cep-samples.bat -sn 0002 -DportOffset=1 -Dqpid.dest_syntax=BURL – dnWick Apr 20 '16 at 04:27