channel.start();
putEvents(channel, "testing-reference-counting", 1, 15);
Transaction tx = channel.getTransaction();
takeWithoutCommit(channel, tx, 10);
forceCheckpoint(channel);
tx.rollback();
//Since we did not commit the original transaction. now we should get 15
//events back.
final Set<String> takenEvents = Sets.newHashSet();
Executors.newSingleThreadExecutor().submit(new Runnable() {
@Override