QueueConnectionFactory queueFactory = (QueueConnectionFactory)context.lookup(QUEUE_FACTORY);
queueConnection = queueFactory.createQueueConnection();
TopicConnectionFactory topicFactory = (TopicConnectionFactory)context.lookup(TOPIC_FACTORY);
topicConnection = topicFactory.createTopicConnection();
topicFactory = (TopicConnectionFactory) context.lookup("PreconfClientIDConnectionfactory");
topicDurableConnection = topicFactory.createTopicConnection("john", "needle");
}
protected void tearDown() throws Exception