I would like to set up an instance of Tigase that has only s2s enabled (no c2s/bosh), and then I want my component to be able accept packets of the virtual hosts themselves without conflicting with s2s. So for example, if I have virtual hosts "example.com,example2.com,example3.com", then I want to add a component that can receive stanzas for exactly these names (well, and any localpart@ and /resource), as opposed to subdomains via the name of my component. Then, if a stanza comes in to="example2.com", s2s would receive it, and then pass it to my component.
How would I configure this?
Also, is it okay to use AbstractMessageReceiver for such a component, or is there a different class I should use for processing stanzas on the base domain?