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

    How precisely to set FailoverOnServerShutdown?

    BJ Chippindale Master

      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