I am using CachingConnectionFactory the setAddresses method for multiple clusters.
connection = new CachingConnectionFactory(); connection.setAddresses("rabbit1:5672,rabbit2:5672");
when i turn off cluster rabbit1 it starts on the next cluster rabbit2
my question there is some configuration to be able to return to the first cluster rabbit1, I have tried but I find how to solve it ..
Thank you