This J2SE console app communicates over WebSocket with an AMQP server via Kaazing WebSocket Gateway. The app subscribes to a destination and publishes and receives messages.
- 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-demoor
build\install\java-amqp-demo\bin\java-amqp-demo.bat
Note: If you encounter an exception, try running the program as the root user (sudo).
Documentation that explains how to create a Kaazing Java AMQP application from scratch to send and receive AMQP messages over WebSocket can be found here.
API Documentation for Kaazing Java AMQP Client library is available: