public RouteSpec removeRoute(int i) {
        return routes.remove(i);
    }
Removes a route spec at a given index.

@param i The index of the route to remove.
@return The removed route.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTableSpec.java