To exchange messages with an external messaging system that supports a JMS interface, you must start the MobiLink server (mlsrv10) with the following options:
-c connection-string To connect to the server message store.See -c option.
-m To enable QAnywhere messaging.
-sl java (-cp "jarfile.jar") To add the client jar files required to use the external JMS provider.See -sl java option.
The following example starts a MobiLink server using a JMS client library called jmsclient.jar (in the current working directory) and the QAnywhere sample database as a message store. The command should be entered all on one line.
mlsrv10 -sl java(-cp "jmsclient.jar") -m -c "QAnywhere 10.0 Demo" ...