Create robot for XMPP chat (JAVA)

Closed - This job posting has been filled and work has been completed.

Job Description

I need a java class.
This class is a XMPP robot, made using the Smack library (http://www.igniterealtime.org/builds/smack/docs/latest/documentation/overview.html).
The robot just need do the following:

Log in into a XMPP chat room (I'll provide the login data), say "Oi, sou o robô de Caio" and logout.

Thanks,
Caio