Nope, sending </stream> won't cut it, because Ineed to component to clear out whatever messages are being processed.<div><br></div><div>Basically, our components get hundreds of messages per second, some of them take up to a few seconds to be processed and some of them incur responses to be sent. What I want for the component is the ability to tell the server : please don't route any more messages to me, let me send a few more though. Makes sense?</div>
<div><br></div><div>Thanks! </div><div><br></div><div>
<br><br><div class="gmail_quote">On Sat, Jan 22, 2011 at 6:18 AM, Waqas Hussain <span dir="ltr"><<a href="mailto:waqas20@gmail.com">waqas20@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sat, Jan 22, 2011 at 12:53 PM, Julien Genestoux<br>
<div class="im"><<a href="mailto:julien.genestoux@gmail.com">julien.genestoux@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> Hello,<br>
> XMPP Components (XEP 0114) are great... but there we have an issue with<br>
> disconnects. Is there a way to indicate to the servers that this component<br>
> (or instance of this component) will soon be disocnnected and that the<br>
> server should not send more stanzas toward it?<br>
> Maybe this is left to the server's implementation?<br>
> Thanks,<br>
<br>
</div></div>Steps:<br>
1. Send a stream close from the component to the server: </stream:stream><br>
2. Wait for the server to send its own </stream:stream> and close the<br>
connection.<br>
<br>
The component may receive stanzas between steps 1 and 2, due to the<br>
nature of asynchronous communication.<br>
<div class="im"><br>
<br>
On Sat, Jan 22, 2011 at 2:39 PM, Tuomas Koski <<a href="mailto:koski.tuomas@gmail.com">koski.tuomas@gmail.com</a>> wrote:<br>
> Good point. It would be an excellent feature to have the server to<br>
> buffer the messages for some time. It would speed up deployments even<br>
> on busy hours since it would not matter if a component is "off line"<br>
> for some seconds.<br>
><br>
> Cheers,<br>
> --<br>
> Tuomas<br>
<br>
</div>XEP-0225 + XEP-0198<br>
<br>
--<br>
<font color="#888888">Waqas Hussain<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
JDev mailing list<br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</div></div></blockquote></div><br></div>