The HornetQ 2.2.14 user guide (section 38.3.1. Configuring Cluster Connections) implies that you can set a finite number of reconnection attempts on a cluster connection:
reconnect-attempts".The number of times the system will try to connect a node on the cluster.
If the max-retry is achieved this node will be considered permanently down and the system will
stop routing messages to this node.
This parameter is optional and its default is at -1 (infinite retries).
However, when I add this setting to the cluster-connection section of hornetq-configuration.xml, HornetQ complains about a corrupt or invalid configuration file, and fails to start.
How do I specify a fininte number of reconnection attempts on a cluster?
|Retrieving data ...|