Running SwiftMQ router as a service component inside JBoss. Does 3.0 provide better support to run the router as a component inside of an app server?

Andreas Mueller

Ok, with 'embedded' I meant an intra-VM JMS client plus the start/stop stuff.

These basic start/stop is already there and documented in the Swiftlet API javadoc. You must use the SwiftletManager which is located in package "com.swiftmq.swiftlet.*":


The router registers a shutdown hook which is called when the JVM exits. To prevent this, set the following System property:


Hope that helps.