public void testProducersAndConsumers() throws Exception
{
Connection connectionProducer = cf.createConnection();
Connection connectionReader = cf.createConnection();
connectionReader.start();
connectionProducer.start(); // try with and without this...
ProducerThread producerThread[] = new ProducerThread[20];
ReaderThread readerThread[] = new ReaderThread[20];
TestThread threads[] = new TestThread[40];