事件传输格式有两部分:一个HTTP请求头和事件有效载荷(是事件连接器包)。
The wire format of the event has two parts: an HTTP request header and the event payload (which is the event connector packet).
让我们创建一个名为WBEEvent的对象,获取事件数据,构建一个事件连接器包,并将其发送给Business Events。
Let's create an object called WBEEvent that can take event data, construct an event connector packet, and send it to Business Events.
Send是一个使用事件名和数据组成事件连接器包的方法。
Send is a method that forms the event connector packet using the event name and data.
应用推荐