On Tue, Aug 11, 2009 at 4:39 PM, Bernd Fondermann<[email protected]> wrote:
>> Yes. Probably it's still a good idea to check if a module registers a
>> subdomain *and* one or more namespaces, which would be a hard-to-find
>> bug for the modules developer (but is easy to check for us, I guess).
>
> IIRC, the component spec requires _all_ stanzas for a "subdomain" to be
> routed to the component.

That's the way I've done it (not yet committed, needs more Javadoc).
All messages in a subdomain are routed to the
SubdomainHandlerDictionary registered for that domain. If the
dictionary returns a handler, it will be used. If it does not return a
handler (or no dictionary has been registered for the subdomain), the
stanza will go through the already existing lookup mechanism.

Sounds good?

/niklas

Reply via email to