How to send message to external component?

I am a new to openfire external component development. I just added a simple external component to Openfire.

This component is changing case of each message it receives to uppercase. But I dont know how to send message to an external component. the address of my component is mysubdom.localhost and for external component i took port number as 5275.

I developed it by following Developing XMPP Components – The Setup | One Minute Distraction

Kindly help me by suggesting me how to send message to this external component.

I dont have much idea of XMPP, before this component I have just written a XMPP client using smack api.