powered by Jive Software

How to read incoming subscriber request

i have created a node using smack in pubsub which requires the authorization from the publisher , so when a subscriber tries to subscribe a request goes to the publisher whether to approve the subscriber or not.

at publisher’s end i am getting following stanza but i dont know which event is able to read/parse this incoming stanza in smack so that i can read the values of xml tags , so can any one tell me which listener i shoud use ?

PubSub subscriber request

Use the following form to approve or deny the subscription request.






You will have to biuld that functionality yourself, as the current pubsub API doesn’t support that functionality yet.


can you guide me how would i do that , do i need to read incoming message packets and parse it manually ?

is that the way ?