开发者

JMS Client Problem

When my JBoss server is down,开发者_如何学JAVA my JMS client application repeatedly tries to reconnect to the JMS server. However, after a couple of failed attempts, it connects to any other available servers in the LAN. How can I avoid this ?


It can be resolved by setting the following property when creating the initial context

props.setProperty("jnp.disableDiscovery", "true");

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜