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.
...
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 Receiving Events in Various Event FormatsInput Mapping Types. |
You can also define 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.
...
Adapter Property | Description | Configuration file property | Example |
---|---|---|---|
Receiver URL | URL of the target receiver | receiverURL | tcp://localhost:7661 |
Authenticator URL | URL of the authenticator | authenticatorURL | tcp://auth-host:7661 |
User Name | Username for the listener | username | wso2event-user |
Password | Password for the listener | password | wso2event-password |
Protocol | The communication protocol that will be used to publish events | protocol | thrift/binary |
Publishing Mode | Events publishing mode. Non-blocking refers to asynchronous publishing, and blocking refers to synchronous publishing | publishingMode | non-blocking/blocking |
Publishing Timeout | Positive integer to denote the timeout for the non-blocking publishing mode | publishTimeout | 0 |
Related samples
...