noTxChannel.basicPublish("", "test.queue", null, "one".getBytes());
noTxChannel.basicPublish("", "test.queue", null, "two".getBytes());
QueueingConsumer callback = new QueueingConsumer(txChannel);
txChannel.basicConsume("test.queue", callback);
Delivery next = callback.nextDelivery(1000L);
assertNotNull(next);
txChannel.basicReject(next.getEnvelope().getDeliveryTag(), true);
txChannel.txRollback();
GetResponse get = noTxChannel.basicGet("test.queue", true);
assertNotNull(get);