I am having 2 independent JBOSS server in 2 different location. I have configured identically both the environments. I am trying to publish message to a JMS topic using HTTPS. For lookup I am trying to use HttpNamingContextFactory. I am trying to find a way to give multiple URLS to HttpNamingContextFactory, if there is an issue on one server it will automatically connect to the next server. I looked at the code of HttpNamingContextFactory and its just using the Provider URL as a string. Can someone verify that there is no way to have HA on the client side?
Based on the reply I can decide on whether to modify the code of HttpNamingContextFactory.