powered by Jive Software

Sending message to all users from client using smack API

Hi All,

It would be appreciated if anyone could give solution for this problem , Thanks in Advance.

The requirement is Sending message to all users (online && offline) without using roaster service.

Basically i have Java client which is connecting to the open fire xmpp server and using one admin account.

from my java client , i will send a “Notification” to all users .

I have tried the code which roster.getEntries() to get all online users , But here its returning the users which has been added to the admin account as friend/buddy. I dont want to do like this.

Basically administrator (Java client) will send the announcements to all users .

Could anyone help me to resolve this stuff? , Thanks once again, its very critical requirement.