使用 STOMP Java 客户端到达 spring 端点
Using STOMP Java Client to reach a spring endpoint
我想在我的服务器和 java 测试客户端之间建立 STOMP
连接。 websocket 的目的地类似于 localhost:1234/data/websocket/
。
None 的 java stomp 实现似乎支持这种地址格式。有没有办法创建到此类端点的 STOMP 连接?
你应该看看这个文档:Using WebSocket to build an interactive web application
Using WebSocket to build an interactive web application
This guide walks you through the process of creating a "hello world"
application that sends messages back and forth, between a browser and
the server. WebSocket is a very thin, lightweight layer above TCP. It
makes it very suitable to use "subprotocols" to embed messages. In
this guide we’ll dive in and use STOMP messaging with Spring
to create an interactive web application.
最后我决定使用 Spring STOMP
客户端。它是我找到的唯一能够连接到此类特定端点的客户端。
我想在我的服务器和 java 测试客户端之间建立 STOMP
连接。 websocket 的目的地类似于 localhost:1234/data/websocket/
。
None 的 java stomp 实现似乎支持这种地址格式。有没有办法创建到此类端点的 STOMP 连接?
你应该看看这个文档:Using WebSocket to build an interactive web application
Using WebSocket to build an interactive web application
This guide walks you through the process of creating a "hello world" application that sends messages back and forth, between a browser and the server. WebSocket is a very thin, lightweight layer above TCP. It makes it very suitable to use "subprotocols" to embed messages. In this guide we’ll dive in and use STOMP messaging with Spring to create an interactive web application.
最后我决定使用 Spring STOMP
客户端。它是我找到的唯一能够连接到此类特定端点的客户端。