WSO2Event output event adaptor handles WSO2 common events and is used to publish events over Thrift using TCP, SSL, HTTP, and HTTPS. You can send output events to any other WSO2Event server from the CEP, using Thrift over TCP, SSL, HTTP, or HTTPS.
The steps below explain how to configure using the management console or using an XML file in step 5.
<PRODUCT_HOME>/repository/deployment/server/outputeventadaptors
directory,
which is the output event adaptor deployment directory. Since hot deployment is enabled, you
can simply add/remove files to deploy/undeploy from the server.
Create the XML file with the following WSO2Event event adaptor configurations. Output
event adaptor implementation must start with <outputEventAdaptor>
root
element.
<outputEventAdaptor name="outputWSO2EventAdaptor" statistics="disable" trace="disable" type="wso2event" xmlns="http://wso2.org/carbon/eventadaptormanager"> <property name="username">admin</property> <property name="receiverURL">tcp://localhost:7661</property> <property name="password">admin</property> <property name="authenticatorURL">ssl://localhost:7761</property> </outputEventAdaptor>
For more details on creating different types of event adaptors, Please refer the official documentation Here.