private void insertRoute(Route ins) {
        Route route = new Route(ins);
        if (shouldIgnoreResult()) {
            route.getHop(0).setIgnoreResult(true);
        }
        for (int i = 1; i < this.route.getNumHops(); ++i) {
            route.addHop(this.route.getHop(i));
        }
        this.route = route;
    }
This method replaces the first hop of the current route with the given route.

@param ins The route to insert.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingNode.java