// connecting to the first node
ic = new InitialContext();
ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory");
Topic distributedTopic = (Topic)ic.lookup(destinationName);
log("Distributed topic " + destinationName + " exists");
// When connecting to a messaging cluster, the ConnectionFactory has the capability of
// transparently creating physical connections to different cluster nodes, in a round