public void resendScheduled() {
        List<RoutingNode> sendList;

        long now = SystemTimer.INSTANCE.milliTime();
        synchronized (monitor) {
            if (queue.isEmpty()) return;
            sendList = new LinkedList<>();
            while (!queue.isEmpty() && queue.peek().time <= now) {
                sendList.add(queue.poll().node);
            }
        }

        for (RoutingNode node : sendList) {
            node.getTrace().trace(TraceLevel.COMPONENT, "Resender resending message.");
            node.send();
        }
    }
Invokes {@link RoutingNode#send()} on all routing nodes that are applicable for sending at the current time.
messagebus/src/main/java/com/yahoo/messagebus/routing/Resender.java