4
votes

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

1
Take a look at my answer to this question: stackoverflow.com/q/12844654/289985. Just replace "PHP" with "Java", and you should have your answer. - igorw

1 Answers

3
votes

STOMP over WebSocket is supported, ActiveMQ supports STOMP http://activemq.apache.org/stomp.html.

I think you have to include the javascript library provided in that link.