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 Creating Alerts.
Configuring adapter properties
Specify the Static Adapter Properties, when creating a WSO2Event event publisher using the management console as shown below.
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 output mapping types, see Output Mapping Types.
You can also d efine 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.
The above adapter properties are described below.
|Configuration file property||Example|
|Receiver URL||The URL of the target receiver.|
|Authenticator URL||The URL of the authenticator. By default, the port of this URL is derived by adding 100 to the port of the receiver URL. You can change it as required.|
|User Name||Username for the listener.|
|Password||Password for the listener.|
|Protocol||The communication protocol that is used to publish events|
|Publishing Mode||The mode for publishing events. Non-blocking refers to asynchronous publishing, and blocking refers to synchronous publishing|
|Publishing Timeout||The positive integer to denote the timeout for the non-blocking publishing mode|
For more information on
wso2event event publisher type, see the following samples in WSO2 CEP Documentation.