com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Overview of Samples

Required prerequisites for samples

Following applications are required for running the CEP samples in this documentation:

ApplicationPurposeVersionDownload Links
Apache Active MQ

The JMS samples are explained to be tried out using Active MQ.

The ActiveMQ client libraries must be installed in the product's classpath before you can enable the JMS transport.

5.5.0 or later

http://activemq.apache.org

Apache AntTo compile and run the product samples.1.7.0 or laterhttp://ant.apache.org
Oracle Java SE Development Kit (JDK)To launch the product and to run Apache Ant.

1.6.24 or later / 1.7.*

http://java.sun.com/javase/downloads/index.jsp

Understanding the samples

CEP samples explain different usecases of the product using sample clients (producers and consumers). The general flow of all samples is as follows:

  1. Each sample starts the CEP with a different configuration.
  2. After the CEP starts, the clients send Thrift, JMS, REST or POX messages to the CEP over transports such as HTTP/HTTPS, JMS with WS-Addressing, WS-Security, or WS-Reliable messaging.
  3. The CEP receives these messages, processes them, and passes them to sample consumers.

The following table summarizes the producer/consumer clients and the mapping types of each CEP sample. See Setting up CEP Samples for instructions to set up and run samples.

Sample No

Producer

[Publish Topic]

Consumer

[Subscription Topic]

Input Adapter

Type

Event Builder

Type

Event Formatter

Type

Output Adapter

Type

Comments
0001service-statswso2eventwso2eventwso2eventwso2eventwso2event 
0002

stock-quote

[AllStockQuotes]

jms

[BasicStockQuotes]

jms (activemq)jsonmapjms 

0003

purchase-infolog-servicejms (activemq)mapxmlws-event-local 
0004email (Refer to ReadMe.txt)jmsemailtextjsonjms 
0005

pizza-shop

email (Refer to ReadMe.txt )

ws-event-localxmltextemail 
0006service-statswso2eventwso2event

wso2event
(with custom mapping disabled)

wso2eventwso2event 
0101mediation-statswos2eventwso2eventwso2eventwso2eventwso2event 
0102twitter-feed, stock-quote [AllStockQuotes]log-service [PredictedStockQuotes]jms, wso2eventjson, wso2eventxmlws-event-local

 

0103flight-statsjms Queue consumerjms (activemq)xmltextjmsAdd necessary active-mq related client jars & axiom jar
0104login-infowso2eventwso2eventwso2eventwso2eventwso2event 
0105atm-transaction-statslog-servicews-eventxmlxmlws-eventNeed to run WSO2 MB in offset 1 (Need to create subscription for this topic to log service)
0106build-failure-rest-apiemailwso2event (Through rest api)wso2eventtextemailFollow the instruction in readme.txt to send events.
0107mediation-statswos2eventwso2eventwso2eventwso2eventwso2eventNeed to have 2 consumer test-servers in port 7611 & 7612 (To test Load-balancing)
0108pizza-shop (pizzaPublisherClient)wos2eventwso2eventwso2eventwso2eventwso2event 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.