Would it make sense to default instance-id in HA profile to node name?
instance-id="${jboss.node.name}"
Node names in cluster already need to be unique [1] thus routes will be
unique too and would solve problems like [2] as a side effect :-) When
running single node, then mod_cluster automatic generation does the job.
Just throwing it out there...
Rado
[1]
https://issues.jboss.org/browse/AS7-2493
[2]
https://issues.jboss.org/browse/JBPAPP-8451