Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » Connectors » Setting up JMS connectors

 

Starting the MobiLink server for JMS integration

To exchange messages with an external messaging system that supports a JMS interface, you must start the MobiLink server (mlsrv11) 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.

Example

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.

mlsrv11 -sl java(-cp
"jmsclient.jar") -m -c "dsn=QAnywhere 11.0 Demo" ...