Reason/Context
WebSocket is one of the chose when we need establish connection between backend server and (usually web) client.
Spring-WebSocket is relatively popular library among users (353 usages + 937 usages according to maven).
At the moment template support only mqtt, amqp and kafka protocols.
Description
Provide support for WebSocket (wss) protocol using spring-websocket and\or spring-integration-websocket.
Implementation should be aware of STOPM limitations and\or have SockJS fallback.
- Create dedicate Publisher and Config in
partials.
- Update
PublisherService, Config, MessageHandlerService and CommandLinePublisher template files.
- Create Java tests, update 02_removeNotRelevantParts.js to avoid presence of wss tests in other protocol generation.
- Create npm snapshot tests with providing corresponding mock API.
Docs and guides:
Reason/Context
WebSocket is one of the chose when we need establish connection between backend server and (usually web) client.
Spring-WebSocket is relatively popular library among users (353 usages + 937 usages according to maven).
At the moment template support only mqtt, amqp and kafka protocols.
Description
Provide support for WebSocket (wss) protocol using
spring-websocketand\orspring-integration-websocket.Implementation should be aware of STOPM limitations and\or have SockJS fallback.
partials.PublisherService,Config,MessageHandlerServiceandCommandLinePublishertemplate files.Docs and guides: