Websphere Application Server 7.0-激活规范-重试到远程Websphere MQ的连接
我们目前正在WAS7.0上使用激活规范来侦听WMQ队列。 有时WMQ队列管理器出现故障,我们需要重试以从WAS激活规范连接到WMQ。可能吗 如果在WAS中使用侦听器端口,则有“Maximum Retry”属性可用于重试连接。但找不到有助于激活规范重试的属性 请帮忙Websphere Application Server 7.0-激活规范-重试到远程Websphere MQ的连接,websphere,ibm-mq,Websphere,Ibm Mq,我们目前正在WAS7.0上使用激活规范来侦听WMQ队列。 有时WMQ队列管理器出现故障,我们需要重试以从WAS激活规范连接到WMQ。可能吗 如果在WAS中使用侦听器端口,则有“Maximum Retry”属性可用于重试连接。但找不到有助于激活规范重试的属性 请帮忙 谢谢您可以使用以下属性来配置激活规范重试策略 reconnectionRetryCount The maximum number of the attempts that are made by the resource adapte
谢谢您可以使用以下属性来配置激活规范重试策略
reconnectionRetryCount
The maximum number of the attempts that are made by the resource adapter to reconnect to a WebSphere MQ queue manager if a connection fails.
The default value is 5.
及
您需要Dio现在可能已经知道如何查找属性:),以下信息适用于任何面临此问题的新用户: 要配置WMQ RA设置,请转到 资源→ 资源适配器,选择要配置的作用域,并在首选项中选择“显示内置资源”,然后应用
- 选择“WebSphere MQ资源适配器”
- 选择自定义属性,并修改“reconnectionRetryCount”和“reconnectionRetryInterval”属性
reconnectionRetryInterval
The time, in milliseconds, that the resource adapter waits before it makes another attempt to reconnect to a WebSphere MQ queue manager.
The default value is 300000 ms.