public List<Route> getMatchedRecipients() {
        List<Route> ret = new ArrayList<>();
        Set<String> done = new HashSet<>();
        Hop hop = getHop();
        for (Route route : node.getRecipients()) {
            if (route.hasHops() && hop.matches(route.getHop(0))) {
                HopDirective dir = route.getHop(0).getDirective(directive);
                String key = dir.toString();
                if (!done.contains(key)) {
                    ret.add(new Route(route).setHop(0, new Hop(hop).setDirective(directive, dir)));
                    done.add(key);
                }
            }
        }
        return ret;
    }
<p>Returns a list of all configured recipients whose first hop matches
this.</p>

@return A modifiable list of recipients.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingContext.java