@Override
        public String getInitialSubdomain() {
            if (subdomains.isEmpty()) {
                return null;
            }
            return subdomains.get(0);
        }
Delivers the packet to the external component.

@param packet the packet to deliver.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalComponentSession.java