public void testIt() {
System.out.println("Testing the WSIFCorrelationService...");
WSIFCorrelationService cs =
WSIFCorrelationServiceLocator.getCorrelationService();
WSIFCorrelationService cs2 =
WSIFCorrelationServiceLocator.getCorrelationService();
assertTrue(cs == cs2);
try {
WSIFCorrelationId cid = new WSIFJMSCorrelationId("1");
cs.put(cid, "petra", (long) 0);
cid = new WSIFJMSCorrelationId("2");
cs.put(cid, "ant", (long) 0);
cid = new WSIFJMSCorrelationId("3");
cs2.put(cid, "tanya", 3000);
cid = new WSIFJMSCorrelationId("1");
String s = (String) cs.get(cid);
assertTrue(s.equals("petra"));