I was courious about one aspect of stanza routing, and this is the
answer to my question on jabber mailing list.
As I understand it, it solely depends on the imlementation. So my
question here is, does Vysper support inspecting IQ stanza with
appropiate iq handler(in case I wrote such an extension which needs
this), before routing it to foreign domain(I dont really know how much
code need to be written to support interserver communication)?
Remko Tronçon wrote / napísal(a):
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 userA at domainA.org
<http://mail.jabber.org/mailman/listinfo/jdev>
userB has jid userB at domainB.org
<http://mail.jabber.org/mailman/listinfo/jdev>
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?
Not sure if this answers your questions, but all stanzas, including
IQs, are routed through both servers. If your server inspects all IQs
it routes, it can do something when routing an IQ with your extension.
cheers,
Remko
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________