context.commitTransaction();
assertEquals(3, queue.size());
final TransactionContext context2 = instance2.newTransactionContext();
context2.beginTransaction();
TransactionalQueue<Integer> txn2 = context2.getQueue("testQueueOrderAfterPollRollback");
assertEquals(1, txn2.poll().intValue());
context2.rollbackTransaction();
assertEquals(1, queue.poll().intValue());
assertEquals(2, queue.poll().intValue());