com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' 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. For more information, see JMS Transport  section.

5.2.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 sample producers send different types of events to the CEP over different transports.
  3. The CEP receives these events and processes them.
  4. Finally it pushes different types of notification events based on the processed data to the sample consumers over different transports.

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-infologServicejms (activemq)mapxmlhttp 
0004email (Refer to ReadMe.txt)jmsemailtextjsonjms 
0005

pizza-shop

email (Refer to ReadMe.txt )

httpxmltextemail 
0006service-statswso2eventwso2event

wso2event
(with custom mapping disabled)

wso2eventwso2event 
0101mediation-statswso2eventwso2eventwso2eventwso2eventwso2event 
0102twitter-feed, stock-quote [AllStockQuotes]log-service [PredictedStockQuotes]jms, wso2eventjson, wso2eventxmlhttp

 

0103flight-statsjms Queue consumerjms (activemq)xmltextjmsAdd necessary active-mq related client jars & axiom jar
0104login-infowso2eventwso2eventwso2eventwso2eventwso2event 
0105atm-transaction-statslog-servicesoapxmlxmlsoap 
0106build-failure-rest-apiemailwso2event (Through rest api)wso2eventtextemailFollow the instruction in readme.txt to send events.
0107mediation-statswso2eventwso2eventwso2eventwso2eventwso2eventNeed to have 2 consumer test-servers in port 7611 & 7612 (To test Load-balancing)
0108pizza-shop (pizzaPublisherClient)wso2eventwso2eventwso2eventwso2eventwso2event 
0109pizza-shop (pizzaPublisherClient)wso2eventwso2eventwso2eventwso2eventwso2eventWith Persistence based Event tables (with cache)
0110sensor-statskafkakafkaxmljsonkafka 
0111soap try itlogService (axis2)soapxmlxmlsoap 
0112logFileloggerfiletexttextlogger 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.