tree: e1cb3e0353f18a88d7ad912fba68228b516e5d90 [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/ha/client-side-failoverlistener/readme.md

JMS Client Side Failover Listener Example

To run the example, simply type mvn verify from this directory. This example will always spawn and stop multiple servers.

This example demonstrates how you can listen on failover event on the client side.

In this example there are two nodes running in a cluster, both broker will be running for start, but after a while the first broker will crash. This will trigger a fail-over event.