assertEquals(2, q.size());
context.beginTransaction();
TransactionalQueue txnQ1 = context.getQueue("testQueuePollRollbackSize");
assertEquals("item1", txnQ1.poll());
assertEquals(1, txnQ1.size());
assertEquals(1, q.size());
context.rollbackTransaction();
assertEquals(2, q.size());
assertEquals("item1", q.poll());