for (Iterator i = ca.getConnections().iterator(); i.hasNext();){
System.out.println(i.next());
}
for (int i =0; i < MESSAGE_COUNT; i++){
Message msg = s.createTextMessage("test:" + i);
Message receipt = requestor.request(msg);
System.out.println("Got reply: " + receipt);
assertNotNull("receipt is null!!",receipt);
}
}catch(Throwable e){
e.printStackTrace();