Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) };
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) };
   public void test_Simple_NTP_LX() throws Exception   {      Connection conn1 = cf.createConnection();      Connection conn2 = cf.createConnection();      conn2.start();            Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);      XASession sessReceive = ((XAConnection)conn2).createXASession();            MessageConsumer cons = sessReceive.createConsumer(queue1);      MessageProducer prod = sessSend.createProducer(queue1);      prod.setDeliveryMode(DeliveryMode.PERSISTENT);            Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES),            new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) };            runRunners(runners);            conn1.close(); conn2.close();         }