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

SQL Anywhere 12.0.0 (中文) » QAnywhere » 设置 QAnywhere 消息传递 » 使用推式通知 » 配置推式通知

 

配置监听器

监听器与客户端消息存储库运行在同一台设备上。监听器从服务器接收推式通知并将它们传递到 QAnywhere 代理。

监听器已经配置可在 QAnywhere 中使用。在极少数情况下,可能希望更改缺省行为。

例如,如果需要使用自定义选项手动启动监听器,可以使用以下命令:

dblsn.exe -u ias_mystore_lsn -e mystore -t+ mystore
          ... other options ...  

为使 QAnywhere 代理找到刚启动的监听器,还需要按如下所示重新启动 QAnywhere 代理:

qaagent -c "dbf=mystore.db;server=mystore;dbn=mystore" -id mystore 
  -lp 5001 -x tcpip(host=acme.com)

其中 dblsn 的 UDP 监听库接收端口为 5001。

 另请参见