Output WSO2Event event adapter handles WSO2 events. It sends WSO2 events over Thrift using TCP, SSL/ TCP, HTTP, and HTTPS to any external servers, which can receive them.
Follow the instructions below to configure output WSO2Event event adapter using the management console. This deploys the event adapter in the
Enter details as shown in the below example. This example assumes that the agent server is started on port 7611.
Click Add Event Adaptor.
Follow the instructions below to configure output WSO2Event event adapter using a configuration file.
Create an XML file with the following output event adaptor configurations. Output event adapter implementation must start with
<outputEventAdaptor> as the root element.
Add the XML file to the
<PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory. Since hot deployment is enabled, you can simply add/remove files to deploy/undeploy to/from the server.
After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI. Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.
wso2eventtype can be configured as follows.
Click the name of the event formatter to which the relevant output event adapter is connected. This opens the Event Formatter Details page.
The message properties of a
wso2event output event adapter are described below. Change the property values as required.
|Stream Name||Name of the outgoing WSO2Event event stream|
|Stream Version||Version of the outgoing WSO2Event event stream|
|Output Mapping Type||The outgoing event type to be mapped. The output WSO2Event event adaptor supports only WSO2Event mapping type.|