Versions Compared

Key

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

WebSocket local event receiver is an internal event receiver that comes with WSO2 products by default. You  can configure it with  XMLtext, and JSON input mapping types.

...

Info

When multi-tenancy is used, the URL formats used to receive events are as follows.

Super-tenant/TenantURL Formats
Super-tenant ws://localhost:";<CEP_Server_Port>"/inputwebsocket/<receiver_name>
 
wss://localhost:";<CEP_SSL_Server_Port>"/inputwebsocket/<receiver_name>";

 
Tenantws://localhost:";<CEP_Server_Port>"/t/<tenant_domain>/ inputwebsocket/<receiver_name>

wss://localhost:";<CEP_SSL_Server_Port>"/t/<tenant_domain>/ inputwebsocket/<receiver_name>";
 

e.g., If the receiver name is WebSocketLocalInputEventReceiver and the tenant domain is mycompany.com, the URL would be as follows when you use the default server ports.

Super-tenant/TenantURL Formats
Super-tenantws://localhost:";9763"/inputwebsocket/WebSocketLocalInputEventReceiver

wss://localhost:";9443"/inputwebsocket/WebSocketLocalInputEventReceiver";

 
Tenantws://localhost:";9763"/t/mycompany.com/ inputwebsocket/WebSocketLocalInputEventReceiver

wss://localhost:";9443"/t/mycompany.com/inputwebsocket/WebSocketLocalInputEventReceiver";

Related samples

For more information on websocket-local event receiver type, see the following sample.

...