我们当前在WAS 7.0上使用激活规范来侦听WMQ队列。有时WMQ队列管理器出现故障,我们需要重试以通过WAS激活规范连接到WMQ。是否可以?
如果我们在WAS中使用侦听器端口,则可以使用“最大重试”属性来重试连接。但找不到有助于重试激活规范的属性。
请帮助。
谢谢
您可以使用以下属性来配置激活规范重试策略。
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.
和
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.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句