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

SQL Anywhere 11.0.1 (中文) » QAnywhere » 连接器 » 设置 JMS 连接器

 

启动 MobiLink 服务器以进行 JMS 集成

要与支持 JMS 接口的外部消息传递系统交换消息,必须使用以下选项启动 MobiLink 服务器 (mlsrv11):

  • -c connection-string   连接到服务器消息存储库。

    请参见-c 选项

  • -m   启用 QAnywhere 消息传递。

  • -sl java (-cp "jarfile.jar")    添加使用外部 JMS 提供程序所需的客户端 jar 文件。

    请参见-sl java 选项

示例

下面的示例使用名为 jmsclient.jar 的 JMS 客户端库(在当前工作目录中)和用作消息存储库的 QAnywhere 示例数据库来启动 MobiLink 服务器。该命令应全部在一行上输入。

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