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 <zambor...@b-ideas.eu>: > 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 us...@domaina.org > userB has jid us...@domainb.org > > 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: jdev-unsubscr...@jabber.org > _______________________________________________ > _______________________________________________ JDev mailing list Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org _______________________________________________