SwiftMQ requires Java 11 or later.
To use Java 15 or later with Streams Swiftlet, you need to run SwiftMQ with GraalVM CE which is a next-generation polyglot JVM, based on the standard OpenJDK and provided from Oracle. SwiftMQ has been highly optimized for GraalVM and we recommend using it instead of the standard OpenJDK.
GraalVM CE is free and can be obtained from https://graalvm.org.
Installation from an Archive
After you have unpacked the archive, you will find the following directory structure below the distribution's top-level directory:
|certs||Self signed TLS certificates and server/client key stores.|
|data||All dynamic data of the router like configuration, logs, persistent store|
|kernel||jar files and config meta data of all Kernel Swiftlets|
|optional-swiftlets||Extension Swiftlets JMS, AMQP, JavaMail Bridges and Replicator and Kernel Swiftlet replacements Authentication JDBC and Store JDBC.|
|scripts||Shell scripts to start the router, cli and explorer|
|streams||SwiftMQ system streams|
Starting the Router
Go to the
scripts directory and start the router as follows:
If you are starting it under Windows and use preconfig files, please set it in quotes!
Running SwiftMQ UR as Docker Container
Difference to SwiftMQ CE
The only difference to SwiftMQ CE is that SwiftMQ UR is not available in the Docker registry but must be
downloaded as a
tar.gz archive. Instead of the
docker pull command use
docker load < <tar.gz archive>
Then reference the Docker image as
SwiftMQ UR deploys all available Extension Swiftlets during the first startup.
For further information of SwiftMQ on Docker have a look at the SwiftMQ CE installation.
The standard configuration of SwiftMQ UR is identical with SwiftMQ CE.
To start CLI, SwiftMQ's command line interface, perform a
scripts directory. As username/password press the return key
(anonymous) or use
SwiftMQ UR contains the same examples as SwiftMQ CE but adds those for Filetransfer over JMS.