private void processEvents() {
while (running) {
try {
final StatsEMsgBuilder msg = events.take();
final ZMsg zmsg = makeZMsg();
zmsg.addString(msg.getHeader());
zmsg.addString(msg.getBody());
zmsg.send(publisher);
} catch (InterruptedException e) {
LOG.warn("StatsE sender interrupted.");
}
}
}