This tutorial shows how J2SE console application can communicate over the web with an JMS server via Kaazing WebSocket Gateway using Kaazing Java WebSocket Client library. The application publishes text messages via Kaazing Gateway to a JMS server and listens to the messages from the JMS server over WebSocket.
- Java 1.8
- Gradle 2.10 or higher
- Build the application using gradle
cd <application root directory>
gradle installDist- Run the application
build/install/java-jms-demo/bin/java-jms-demoor
build\install\java-jms-demo\bin\java-jms-demo.bat
Detailed instructions to create Kaazing J2SE WebSocket JMS Tutorial from scratch to be able to send and receive JMS messages over WebSocket can be found here.
API Documentation for Kaazing Java WebSocket JMS Client library is available: