Connecting to UM Realm in clustered environment

Hi,

I have a clustered environment where 3 UM nodes are in cluster. I need to get the event count for UM Queue/Channel. when I pass one of UM node, my java service is working fine. But in case of cluster, I am not able to create session. Can anyone please let me know if below code is correct. Basically I want if one of node is down, It should connect to other active node.

String[] RNAME={“nsp://127.0.0.1:9000,nsp://127.0.0.1:9010,nsp://127.0.0.1:9020”};
nSessionAttributes nsa=new nSessionAttributes(RNAME);

can you check the same behaviour from an IS flow service? Use the (default) UM connection and give it a try.See that you have all 3 realms in the connection. Also refer the UM client api documentation.

-M