Thread.sleep(100);
}
assertTrue(received);
subscription.unsubscribe();
pullPoint.destroy();
}
public void testPublisher() throws Exception {
TestConsumer consumerCallback = new TestConsumer();
Consumer consumer = new Consumer(consumerCallback, "http://localhost:" + port2 + "/test/consumer");