printMessages("Pending messages after consume TIMEOUT " + key, queue.peekMessagesByKey(key));
// Assert.assertEquals(2, m2a.size());
LOG.info("*** Acking both messages ***");
consumer.ackMessages(m1);
consumer.ackMessages(m2);
printMessages("Pending messages after both acks " + key, queue.peekMessagesByKey(key));
// Assert.assertEquals(2, m2a.size());
// Consume anything that is in the queue