Enable Stomp Over Web Sockets
45.1.4. Stomp Over Web Sockets HornetQ also support Stomp over Web Sockets. Modern web browser which support Web Sockets can send and receive Stomp messages from HornetQ. To enable Stomp over Web Sockets, you must configure a NettyAcceptor with a protocol parameter set to stomp_ws: org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory With this configuration, HornetQ will accept Stomp connections over Web Sockets on the port 61614 with the URL path /stomp. Web browser can then connect to ws://:61614/stomp using a Web Socket to send and receive Stomp messages. A companion JavaScript library to ease client-side development is available from GitHub (please see its documentation for a complete description). The stomp-websockets example shows how to configure HornetQ server to have web browsers and Java applications exchanges messages on a JMS topic.