Sending the custom message to the user

Hi All,

I am building a chat application where in I am at the stage of sending custom information to other users.

i.e. I mean to say exchange of data b/w the users (not by sending messages). This is like how applications exchange information in web services.

I searched and came to know customIQ is the one which suits best for my ask. So i found one link Brief Tutorial on IQ Providers | Ignite Realtime which explained how to implement customIQ but no example.

So can someone share any example which gives a glance about the exchanging the data between users connected to openfire.