How to run SwiftMQ as a NT Service?

Andreas Mueller

You just have to use a program which wraps a Java program into a NT service. There are several of these wrapper available in the Internet. A quit good one is JavaService.

If you stop such a service, the Java process is usually hard killed. Configure it that way to soft kill it so that the router goes through its shutdown hook to write a last checkpoint. If you can't configure it, use CLI to shutdown the router before you stop the service.