Adding a Destination
Add a destination to the channel in the usual way.
The fields for destination differs based on different approaches.
To follow the action rule function-based approach
Select the
Type value as
PageFlow
and specify the appropriate Context Path and
Action Rule function for the destination. Specify the context path in the same format as the server would receive the
requestURI
in the HTTP request.
To follow the event-based approach
In the
Serializer field select the appropriate serializer:
com.tibco.cep.driver.http.serializer.RESTMessageSerializer
Specify the default event in the usual way as needed by your project requirements.
Note: HTTP clients of the TIBCO BusinessEvents server would use the complete destination URI, after the host and port for example,
http://www.acme.com:5560/Transport/Channel/MyDestination
.
WebSocket Protocol
If required, you can also use WebSocket protocol for the HTTP channel. Select the WebSocket serializer (com.tibco.cep.driver.http.serializer.WebSocketMessageSerializer) for the destination and value of the Type field as WebSocket.