The input WSO2Event event adapter handles WSO2 events. It receives WSO2 events over Thrift using TCP, SSL/ TCP, HTTP, HTTPS. You can also send events via HTTP and HTTPS in a predefined JSON format, using the REST API data receiver.
By default, WSO2 products come with a configured WSO2Event event adapter by the name
DefaultWSO2EventInputAdaptor to receive fired events.
Have only one input WSO2Event event adapter in the product to receive incoming events. However, to send WSO2 events out, you can use several o utput WSO2Event event adapters.
By default, the input WSO2Event event adapter starts up with the product, and its default ports are as follows:
tcp port: 7611
ssl port: 7711
http port: 9763
https port: 9443
Follow the instructions below to configure input WSO2Event event adapter using the management console. This deploys the event adapter in the
LocalWSO2EventReceiver for Event Adaptor Name, and select
wso2event for Event Adaptor Type as shown below.
Click Add Event Adaptor.
Follow the instructions below to configure input WSO2Event event adapter using a configuration file.
Create an XML file with the following input WSO2Event event adapter configurations. Input event adapter implementation must start with
<inputEventAdaptor> as the root element.
Add the XML file to the
<PRODUCT_HOME>/repository/deployment/server/inputeventadaptors/ directory. Since hot deployment is supported in the product, you can simply add/remove input event adapter configuration files to deploy/undeploy input event adapters to/from the server.
Click the name of the event builder to which the relevant input event adapter is connected. This opens the Event Builder Details page.
The message properties of a
wso2event input event adapter are described below. Change the property values as required.
|Input Event Adaptor Name||The name of the input event adapter.|
|Stream Name||The name of the incoming WSO2 event stream.|
|Stream Version||The version of the incoming WSO2 event stream.|
|Input Mapping Type||The incoming event type to be mapped. The Input WSO2Event event adapter supports only WSO2Event mapping type.|