Remove switching functionality in GUI
Replace manual switching by switching through haproxy
Filter out @Repository from component scanning, because our repositories are found through @EnableJpaRepositories. So now only one bean definition exists per repository (and not two).
Read the response backend-server to be able to respond to changes
Naive switching seems to work: sending a unsubscribe to the new server causes the old server to stop sending us messages
Make sure a switch is detected within a second
Only check every 30 seconds if a switch has occured
Implemented tests
inline sample haproxy config in readme
Adopt updated property files
Made switchListener thread safe, don't poll inventory every 30 seconds.
For now detection by notification consumer could be enough
Updated readme