1 Reply Latest reply on Jul 30, 2012 10:40 AM by jmesnil

    initial-connect-attempts and reconnect-attempts difference

    zont

      User manual says on the page 220 under “Failing over on the initial connection” the “…initial-connect-attempts in xml”. Which xml-config-file is  meant?

       

      I tried first to hornetq-jms.xml and then to hornetq-configuration.xml. Both doesn’t work, SAXParseException will be thrown.

       

      Furthermore, what is the difference between reconnect-attempts and initial-connect-attempts?

       

      Thank you.

        • 1. Re: initial-connect-attempts and reconnect-attempts difference
          jmesnil

          Leonid GL wrote:

           

          User manual says on the page 220 under “Failing over on the initial connection” the “…initial-connect-attempts in xml”. Which xml-config-file is  meant?

          That's an oversight in the doc: in hornetq-jms.xml, you can add the <initial-connect-attempts> to <connection-factory> elements.

           

           

          Furthermore, what is the difference between reconnect-attempts and initial-connect-attempts?

          Initial connect attempts is the number of attempts to connect the 1st time to the server.

          Reconnect attemps is for subsequent reconnection attempts.