代理(如“日历”代理)使 Instant Messaging 服务器内部的功能得以实现,并能增强其与其他 Sun Java System 服务器的互操作性。
表 A–11 列出并说明代理配置参数。
表 A–11 代理配置参数
参数 |
默认值 |
说明 |
---|---|---|
jms.consumers |
无 |
与“日历”代理一起使用。包含报警名称。此参数值必须设置为: cal_reminder |
jms.consumer.cal_reminder.destination |
无 |
用于“日历”代理。报警的目的地。它必须与 ics.conf 文件中 caldb.serveralarms.url 配置参数的值相同。例如, enp:///ics/customalarm |
jms.consumer.cal_reminder.provider |
无 |
用于“日历”代理。提供者名称。通常,此项设置为 ens。此参数的值必须与 jms.providers 参数中的名称相同。 |
jms.consumer.cal_reminder.type |
无 |
用于“日历”代理。要设置的报警类型。此参数值必须设置为: topic |
jms.consumer.cal_reminder.param |
无 |
用于“日历”代理。报警参数。此参数值必须按以下形式(包括引号)设置: "eventtype=calendar.alarm" |
jms.consumer.cal_reminder.factory |
无 |
用于“日历”代理。针对新的日历提示消息而自行注册的侦听器。此参数值必须设置为: com.iplanet.im.server.JMSCalendarMessageListener |
jms.providers |
无 |
用于“日历”代理。提供者名称。通常,将此参数值设置为 ens。此项必须与 jms.consumer.cal_reminder.provider 参数的值相同。 |
jms.provider.ens.broker |
无 |
用于“日历”代理。ENS 的主机名和 ENS 侦听收到的请求的端口号。设置为文件 ics.conf 的参数 service.ens.port 所指定的端口。默认值为 57997。例如: jms.provider.ens.broker=cal.example.com:57997 |
jms.provider.ens.factory |
无 |
用于“日历”代理。用于创建主题连接对象的工厂类。此参数的值必须设置如下。在一行中输入该值: com.iplanet.ens.jms.EnsTopicConnFactory |
iim_agent.enable |
False |
若为 TRUE,则启用 Instant Messaging 代理。将该值设置为 FALSE,或从 iim.conf 中删除该参数可禁用所有代理。 |
iim_agent.agent-calendar.enable |
无 |
用于“日历”代理。如果为 TRUE 或不在 iim.conf 中,则加载专门启用“日历”代理的组件。 |
agent-calendar.jid |
无 |
“日历”代理的 JID。 |
agent-calendar.password |
无 |
定义“日历”代理连接 Instant Messaging 服务器所用的密码。 |
iim_server.components |
无 |
将“日历”代理说明为 Instant Messaging 服务器的组件。此参数的值必须设置为: agent-calendar |