msg = tsub.receiveNoWait();
Assert.assertNotNull("fourth message", msg);
Assert.assertEquals("fourth message", new Integer(1005),
((ObjectMessage)msg).getObject());
ts.unsubscribe(name);
om = ts.createObjectMessage(new Integer(num++));
tp.publish(om);
om = ts.createObjectMessage(new Integer(num++));
tp.publish(om);