We are planning a cluster using master/slave pairs. The clients will use the discovery protocol.
What happens when the server that a client is connected to goes down? In the simple case, my understanding is that the activemq client library will automatically reconnect to another server in the cluster. More interesting, is what happens when a request is interrupted mid-flight? Say the client is calling publish when the server goes down. Does the client reconnect to another node and re-issue the publish invocation? Is there any possibility of the messages getting duplicated (some delivered in the initial connection to server A and then again in the new connection to server B)? Same question for a subscriber that is interrupted... When it automatically reconnects could it receive a duplicate message? Any other issues to be aware if when a reconnect happens, on the client app side? Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Client-reaction-to-server-failure-tp4698426.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.