Interact | services | eventPattern | advancedPatterns | autoReconnect
此类别中的配置属性指定与 Opportunity Detection 集成中的自动重新连接功能的参数。
启用
描述
如果 Interact 实时环境与 Opportunity Detection 之间发生连接问题,确定系统是否自动重新连接。 缺省值为 True 启用此功能。
缺省值
True
有效值
True | False
durationInMinutes
描述
此属性指定在系统评估 Interact 实时环境和 Opportunity Detection 之间发生的重复的连接问题期间的时间间隔(以分钟计)。
缺省值
10
numberOfFailuresBeforeDisconnect
描述
该属性指定系统与 Opportunity Detection 自动断开连接之前指定时间段内所允许的连接失败数。
缺省值
3
consecutiveFailuresBeforeDisconnect
描述
确定自动重新连接功能是否仅评估 Interact 实时环境与 Opportunity Detection 之间的连接失败。如果您将此值设置为 False,那么将评估指定时间间隔内的所有连接失败。
缺省值
True
sleepBeforeReconnectDurationInMinutes
描述
系统由于此类别中的其他属性中所指定的重复失败而断开连接时,在重新连接之前系统等待此属性中所指定的分钟数。
缺省值
5
sendNotificationAfterDisconnect
描述
此属性确定系统是否在发生连接失败时发送电子邮件通知。通知消息包括所发生的连接失败的 Interact 实时实例名称以及重新连接之前 sleepBeforeReconnectDurationInMinutes 属性中指定的时间长度。缺省值为 True 表示将发送通知。
缺省值
True