@Override
    public void sendPacket(Component component, Packet packet) {
        if (packet != null && packet.getFrom() == null) {
            throw new IllegalArgumentException("Packet with no FROM address was received from component.");
        }
        
        PacketRouter router = XMPPServer.getInstance().getPacketRouter();
        if (router != null) {
            router.route(packet);
        }
    }
Removes a given component. Unlike {@link #removeComponent(String)} this method will just
remove a single component instead of all components associated to the subdomain. External
components may connect several times and register for the same subdomain. This method
just removes a singled connection not all of them.

@param subdomain the subdomain of the component's address.
@param component specific component to remove.
xmppserver/src/main/java/org/jivesoftware/openfire/component/InternalComponentManager.java