4 Replies Latest reply on Apr 27, 2010 1:55 AM by bjchip

    How precisely to set FailoverOnServerShutdown?

    bjchip

      The manual says:

       

      To             configure this you can set the property FailoverOnServerShutdown to             false either on the HornetQConnectionFactory if you're using JMS or             in the hornetq-jms.xml file when  you define the connection factory,             or if using core by setting the property directly on the ClientSessionFactoryImpl instance after creation.

       

       

      Is it like this?

       

      <connection-factory name="ConnectionFactory">

         <connectors>

             <connector-ref connector-name="netty-connector" backup-connector-name="backup-connector"/>

         </connectors>

         <entries>

            <entry name="ConnectionFactory"/>

         </entries>

       
       <FailoverOnServerShutdown>true</FailoverOnServerShutdown>

      </connection-factory>

       

       

        Respectfully

         BJ