The iq stanza will take the following route: userA ---> domainA ---\ userB <--- domainB ---/
Once it reaches B it will come back with either a result or error. Thus: userA ---> domainA ---\ userB <--- domainB ---/ | | userB processes the packet V userB ---> domainB ---\ userA <--- domainA ---/ If you read between the lines that means you have two opportunities to process that stanza - and you probably should use both of them. -- Jonathan Dickinson 2009/7/15 Matus Zamborsky <[email protected]>: > Hi, > I am reading through rfc 3920 and i am not quite sure about the routing of > IQ stanzas. I will show what I mean on example: > > userA has jid [email protected] > userB has jid [email protected] > > if userA sends iq stanza with my own extension, is it possible for server > domainA.org to do some useful work(store it in database for example) before > routing it to server domainB.org? > > _______________________________________________ > JDev mailing list > Forum: http://www.jabberforum.org/forumdisplay.php?f=20 > Info: http://mail.jabber.org/mailman/listinfo/jdev > Unsubscribe: [email protected] > _______________________________________________ > _______________________________________________ JDev mailing list Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
