Sun Java System Instant Messaging 7.2 管理指南

Procedure为支持的 XMPP/HTTP 网关域配置键 ID 列表

  1. 打开 httpbind.conf

    有关查找此文件的信息,参见httpbind.conf 文件位置

  2. httpbind.config 参数设为您想要网关使用的 ID 列表。

    对于每个域,您都需要为此参数指定一个单独的 ID。例如:


    httpbind.config=gwdomain-id
    

    其中,gwdomain-id 是您要使用的域标识符。

    例如:


    httpbind.config=siroe.com
  3. 对于您要指定的每个 gwdomain-id,请将以下参数添加到 httpbind.conf 文件中:


    gwdomain-id.domain=domain-name
    gwdomain-id.hosts=gateway-host
    gwdomain-id.componentjid=component-jid
    gwdomain-id.password=password
    

    其中:

    • gwdomain-id 是上一步骤中,在 httpbind.config 中指定的网关 ID。

    • domain-name 是标识的网关在其中运行的域。

    • gateway-host 是全限定域名 (FQDN) 以及支持此域的网关主机端口号列表,以逗号或空格分隔。

    • component-jid 是网关的组件 JID。

    • password 是标识的网关的密码。

    例如,如果 gwdomain-id 设为 siroe


    siroe.domain=siroe.com
    siroe.hosts=gateway.siroe.com:5222
    siroe.componentjid=http.gateway.siroe.com
    siroe.password=gatewaypassword

    关于这些关键参数的详细信息,参见httpbind.config 的网关域 ID 键参数

  4. 保存并关闭 httpbind.conf

  5. 使用 Web 或应用服务器提供的工具重新启动网关。