This repository contains example docker-compose for Solace Standard Edition and an example Java code samples.
In order to run Solace Docker container, execute command:
docker-compose up -d
In order to access Solace Administration GUI, open:
http://localhost:8080
and login using admin/admin credentials.
Sample application is using SMF (Solace Message Format) to communicate with Solace. In order to build the CLI application run below Maven command in the samples/java-sample-jcsmp directory:
mvn clean install
Use below wrapper scripts to use it for different scenarios:
- connection_check.sh
- queue_browse.sh
- queue_receive.sh
- queue_send.sh
- topic_publish.sh
- topic_subscribe.sh
If you want to use the cli directly, you can use the help command:
java -jar ./target/java-sample-jcsmp-1.0-SNAPSHOT-jar-with-dependencies.jar --help
- Add more complicated scenarios
- Add JMS examples