// @Override
// public void execute() {
Transaction multi = jedis.multi();
while (events.hasNext()) {
DomainEventMessage domainEvent = events.next();
multi.rpush(new String(key, IOUtils.UTF8), new String(eventSerializer.serialize(domainEvent, byte[].class)
.getData(), IOUtils.UTF8));
}
multi.exec();
// }
// });