def route(self, stanza):
        destination = JID(stanza['to'])

        log.msg("Routing to %s: %r" % (destination.full(), stanza.toXml()))

        if destination.host in self.routes:
            self.routes[destination.host].send(stanza)
        else:
            self.routes[None].send(stanza)
Override to direct the calls in _build_header - first the Subscriber, then the Process mixin.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py/Router.route--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/ion/endpoint.py/ProcessSubscriberEndpointUnit._build_header