WSO2Event event receiver is used to receive events in the WSO2Event format via Thrift or binary protocols. By default it uses the following ports to retrieve events.
...
For instructions on creating a WSO2Event event receiver, see Receiving EventsConfiguring Event Receivers.
Configuring adapter properties
Specify the Adapter Properties, when creating a WSO2Event event receiver using the management console as shown below.
Info |
---|
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. |
...
Code Block | ||
---|---|---|
| ||
<eventReceiver name="WSO2EventInputEventAdapterWSO2EventReceiver" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> <from eventAdapterType="wso2event"> <property name="events.duplicated.in.cluster">false</property> </from> ................... </eventReceiver> |
...
Adapter Property | Description | Configuration file property | Example |
---|---|---|---|
Is events duplicated in cluster | In a cluster whether the same event can reach two receiver nodes | events.duplicated.in.cluster | true/false |
Related samples
For more information on wso2event
event receiver type, see the following samples.