How to smack workgroup queue?

I have tryed to use smack to workgroup chat, but i can not find example.

Anyone can give some hint or tutorial?