This content has been marked as final. Show 2 replies
does this work:
env.put(Context.PROVIDER_URL,"server1:1100,server2:1100"); InitialContext ctx = new InitialContext(env);
that should work, but it will first query server1. so if server1 returns the queue, then server2 will not be queried.
the servers will be queried in the order they are listed.