When my JBoss server is down, 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 ?
When my JBoss server is down, my JMS client application repeatedly tries to reconnect
Share
It can be resolved by setting the following property when creating the initial context
props.setProperty(“jnp.disableDiscovery”, “true”);