# JMS Colocated Failover Shared Store Example

    To run the example, simply type mvn verify from this directory.

This example demonstrates how you can configure a live server to scale down messages to another live server on shutdown.

This example starts 2 live servers each one with a connector configured for the other live server.

The second live server is killed and its messages are scaled down to the first server on shutdown.

The following shows how to configure the live servers to scale down to one another.

         <ha-policy>
             <live-only>
                 <scale-down>
                     <connectors>
                         <connector-ref>server0-connector</connector-ref>
                     </connectors>
                 </scale-down>
             </live-only>
         </ha-policy>