Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 propertyExample
Receiver URLURL of the target receiver
receiverURL

tcp://localhost:7661

Authenticator URLURL of the authenticator
authenticatorURL

tcp://auth-host:7661

User NameUsername for the listener
username

wso2event-user

PasswordPassword for the listener
password
wso2event-password
ProtocolThe communication protocol that will be used to publish events
protocol
thrift/binary
Publishing ModeEvents publishing mode. Non-blocking refers to asynchronous publishing, and blocking refers to synchronous publishing
publishingMode
non-blocking/blocking
Publishing TimeoutPositive integer to denote the timeout for the non-blocking publishing mode
publishTimeout
0

Related samples

...