1 Reply Latest reply on Jun 11, 2010 8:44 PM by Clebert Suconic

    JNDI provider URL when using active-backup configuration

    Aspi Engineer Newbie

      What is the correct JNDI provider URL when using a HQ active-backup configuration?

       

      We are using 2.1.0.CR1. I have a HQ active-backup configuration, with active instance on server R1 and the backup instance on server R2.
      We have a "backup-connector-ref" element in the active servers (R1) hornetq-configuration.xml, and the referenced connector has its host set to server R2.

       

      Assuming that the jnp port is defined to be 1099, what should be the value of the provider URL for JNDI lookups on JMS clients? Should it be:
      jnp://R1:1099,R2:1099

       

      Thanks
      Aspi Engineer
      Putnam Investments