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

WSO2Event Event Publisher

WSO2Event event publisher handles WSO2 events. It sends WSO2 events over Thrift using TCP, SSL/ TCP, HTTP, and HTTPS protocols to any external server, which can receive them.

Creating a WSO2Event event publisher

For instructions on creating a WSO2Event event publisher, see Configuring CEP to Create Alerts.

Configuring adapter properties

Specify the Static Adapter Properties, when creating a WSO2Event event publisher using the management console as shown below.

WSO2Event event publisher

After entering the above adapter properties, select the Event Stream to which you want to map the incoming events, and the Message Format which you want to apply on the receiving events. Also, click Advanced to define custom input mappings based on the Message Format you selected. For more information on custom input mapping types, see Input Mapping Types.

You can also define the respective adapter properties of the event receiver based on the transport type within the <from> element of the event receiver configuration in the <PRODUCT_HOME>/repository/deployment/server/eventreceivers/ directory as follows.

<eventPublisher name="WSO2EventOutputEventAdapter" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
 ................
  <to eventAdapterType="wso2event">
    <property name="username">wso2event-user</property>
    <property name="protocol">thrift</property>
    <property name="publishingMode">non-blocking</property>
    <property name="publishTimeout">0</property>
    <property name="receiverURL">tcp://localhost:7661</property>
    <property name="authenticatorURL">tcp://auth-host:7661</property>
    <property encrypted="true" name="password">jkFhzj2US/jSokI/gYjdMpBaG1OaCV/XgamNwSPsLglQ1ALTA1yBUTexgZ8JEiZoz/WL9H5Ncas1Dq/wMbVlL1OueUTXoL1Kcm63kEf1YWIkoD9ySk0FCFVFWgCsGhH8cAVabeCEEpE+qhq0bFoXTfqYTKjoP2+F1B4EjhDsu7M=</property>
  </to>
</eventPublisher>

The above adapter properties are described below.

Adapter Property
Description
Configuration file propertyExample
Receiver URLURL of the target receiver
receiverURL

tcp://localhost:7661

Authenticator URLURL of the authenticator
authenticatorURL

tcp://auth-host:7661

User NameUsername for the listener
username

wso2event-user

PasswordPassword for the listener
password
wso2event-password
ProtocolThe communication protocol that will be used to publish events
protocol
thrift/binary
Publishing ModeEvents publishing mode. Non-blocking refers to asynchronous publishing, and blocking refers to synchronous publishing
publishingMode
non-blocking/blocking
Publishing TimeoutPositive integer to denote the timeout for the non-blocking publishing mode
publishTimeout
0

Related samples

For more information on wso2event event publisher type, see the following samples.

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