This tutorial shows how J2SE console application can communicate over the web with an AMQP server via Kaazing WebSocket Gateway using Kaazing Java WebSocket Client library. The application publishes text messages via Kaazing Gateway to an AMQP server and listens to the messages from the AMQP 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-amqp-demo/bin/java-amqp-demo
or
build\install\java-amqp-demo\bin\java-amqp-demo.bat
Detailed instructions to create Kaazing Java WebSocket AMQP Tutorial from scratch to be able to send and receive AMQP messages over WebSocket can be found here.
API Documentation for Kaazing Java WebSocket AMQP Client library is available: