1 Reply Latest reply on Oct 29, 2012 1:30 PM by Justin Bertram

    Jboss AS7 HA-JNDI equivalent

    Florin Slev Newbie



      In versions before Jboss AS7, you could get an HA-JNDI in order to send JMS messages to a cluster. If one node was to go down, you could still send messages without any error. Now I don't see how is it possible with Jboss AS7.

      Could you please give me an example of how I can send  JMS messages continously (HornetQ messages) to JbossAS7 inside a cluster, while one node goes down  ?

        • 1. Re: Jboss AS7 HA-JNDI equivalent
          Justin Bertram Master

          I can't answer this question from a JNDI perspective, but with HornetQ you can ditch JNDI altogether and use org.hornetq.api.jms.HornetQJMSClient to instantiate the connection factory using a discovery group.  See the "Configuring client discovery using JMS" section in the HornetQ docs for more information.


          Also, keep in mind that HA capabilities in a HornetQ require a live/backup pair.