}
protected void createConsumers() throws JMSException {
consumers = new MemConsumer[consumerCount];
for (int i = 0; i < consumerCount; i++) {
consumers[i] = new MemConsumer(connectionFactory, destination);
consumers[i].setParent(allMessagesList);
consumers[i].start();
}