STOMP through Websockets through Java

I have a WebSocket server that will receive STOMP through WebSocket messages from a client. The real client uses javascript for this . But I want to create my test client in Java (I don't know javascript very well). The problem is that the STOMP client libraries I found for Java, such as ActiveMQ and stompj, do not seem to support using WebSockets. I am completely unfamiliar with the concept of STOMP and STOMP over WebSockets, so I was wondering if I was missing something or there was no public support for this. Thanks.

+4
source share
1 answer

Supported by STOMP over WebSocket, ActiveMQ supports STOMP http://activemq.apache.org/stomp.html .

I think you should include the javascript library specified in this link.

+3
source

Source: https://habr.com/ru/post/1440082/


All Articles