private void sendSoftwareVersion(Component component, JID componentJID) {
        // Build a "jabber:iq:version" request that will be sent to the component
        IQ iq = new IQ(IQ.Type.get);
        iq.setFrom(getAddress());
        iq.setTo(componentJID);
        iq.setChildElement("query", "jabber:iq:version");
        // Send the "jabber:iq:version" request to the component. The reply (if any) will be processed in
        // #process(Packet) or org.jivesoftware.openfire.net.ComponentStanzaHandler#rocessIQ(Packet)
        //sendPacket(component, iq);
        component.processPacket(iq);
    }
Send a SoftwareVersion request to the new component. If the component provides information
 then it will be added to the  session of current component.

@param component the new component that was added to this manager.
@param componentJID the XMPP address of the new component.
xmppserver/src/main/java/org/jivesoftware/openfire/component/InternalComponentManager.java