public RouteSpec getRoute(int i) {
        return routes.get(i);
    }
Returns the route spec at the given index.

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