Destination topic = (Destination)ic.lookup("/messaging/topics/Topic");
topic = (Destination)ic.lookup("/messaging/topics/Topic"); topic2 = (Destination)ic.lookup("/messaging/topics/Topic2");
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.startInVMServer();      ServerManagement.deployTopic("Topic");      InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment());      ConnectionFactory cf = (ConnectionFactory)ic.lookup("/messaging/ConnectionFactory");      Destination topic = (Destination)ic.lookup("/messaging/topics/Topic");      producerConnection = cf.createConnection();      consumerConnection = cf.createConnection();      producerSession = producerConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);      consumerSession = consumerConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);      producer = producerSession.createProducer(topic);      consumer = consumerSession.createConsumer(topic);   }