public void dmProcess(final DistributionManager dm) { final long startTime = getTimestamp(); ReplyProcessor21 processor = ReplyProcessor21.getProcessor(processorId); try { this.process(dm, processor); if (DistributionStats.enableClockStats) { dm.getStats().incReplyMessageTime(DistributionStats.getStatTime() - startTime); } } catch (RuntimeException ex) { if (processor != null) { processor.cancel(getSender(), ex); } throw ex; } }