ejabberd - Comments for "XMPPStreamManagement receive message acknowledgement from server" https://www.ejabberd.im/node/24766 en Use psi as debugger and go https://www.ejabberd.im/node/24766#comment-66898 <p>Use psi as debugger and go through xml console to find if you have successfully enabled stream management .</p> Tue, 31 May 2016 09:40:41 +0000 Nitin comment 66898 at https://www.ejabberd.im hi all, i am also developing https://www.ejabberd.im/node/24766#comment-66824 <p>hi all,<br /> i am also developing iOS chat application and want to use XMPPStreamManagement.</p> <p>i use following code for enable XMPPStreamManagement,</p> <p> xmppStream = [[XMPPStream alloc] init];<br /> [xmppStream supportsPush];<br /> [xmppStream supportsRebind];<br /> xmppStream.hostName = [NSString stringWithFormat:@"%@",XMPPSERVICE_URL];<br /> xmppStream.hostPort = 5222;<br /> xmppStream.keepAliveInterval = 600;<br /> xmppStream.enableBackgroundingOnSocket = YES;<br /> [xmppStream addDelegate:self delegateQueue:dispatch_get_main_queue()];</p> <p>and for Stream management<br /> xmppStremManage = [[XMPPStreamManagement alloc] initWithStorage:[XMPPStreamManagementMemoryStorage new]];<br /> xmppStremManage.autoResume = YES;<br /> [xmppStremManage enableStreamManagementWithResumption:TRUE maxTimeout:100000];<br /> [xmppStremManage activate:xmppStream];<br /> [xmppStremManage addDelegate:self delegateQueue:dispatch_get_main_queue()];</p> <p>but the delegate methods regarding Stream management not call.<br /> i.e<br /> -(void)xmppStreamManagement:(XMPPStreamManagement *)sender wasEnabled:(DDXMLElement *)enabled<br /> or<br /> - (void)xmppStreamManagement:(XMPPStreamManagement *)sender wasNotEnabled:(NSXMLElement *)failed</p> <p>can any one help me on this issue.</p> Fri, 11 Mar 2016 07:19:43 +0000 mitesh comment 66824 at https://www.ejabberd.im You are welcome :) https://www.ejabberd.im/node/24766#comment-65291 <p>You are welcome :)</p> Wed, 04 Mar 2015 08:00:43 +0000 mremond comment 65291 at https://www.ejabberd.im have been using Psi+ for a https://www.ejabberd.im/node/24766#comment-65290 <p>have been using Psi+ for a few days now and i must say its a great way to learn and test how the server works. i can now enable stream management on my server </p> <p>Thanks</p> Wed, 04 Mar 2015 06:55:22 +0000 vitulgoyal comment 65290 at https://www.ejabberd.im The best way to try XMPP https://www.ejabberd.im/node/24766#comment-65261 <p>The best way to try XMPP features is to test at the low level. You can use Psi or Psi+ and switch to debug console to send the needed packet and see what the server replies.</p> <p>This is very handy for learning, testing and developing.</p> Wed, 25 Feb 2015 19:07:00 +0000 mremond comment 65261 at https://www.ejabberd.im thanks for sharing the https://www.ejabberd.im/node/24766#comment-65260 <p>thanks for sharing the link.</p> <p>it says i should send an <code>&lt;enable/&gt;</code> element and the server will reply with <code>&lt;enabled/&gt;</code> element.</p> <p>i am sending the element but i don't know where to check if the server is replying with <code>&lt;enabled/&gt;</code> element or not</p> Wed, 25 Feb 2015 18:54:55 +0000 vitulgoyal comment 65260 at https://www.ejabberd.im XMPPStreamManagement receive https://www.ejabberd.im/node/24766#comment-65251 <p>The best source to know how XEP-0198 works is to read the XEP it itself.</p> <p>It is available from XMPP.org website: <noindex><a href="http://xmpp.org/extensions/xep-0198.html" rel="nofollow" >XEP-0198</a></noindex></p> <p>Please read especially, the part of basic acking scenario: <noindex><a href="http://xmpp.org/extensions/xep-0198.html#scenarios-basic" rel="nofollow" >8.1 Basic Acking Scenario</a></noindex></p> Mon, 23 Feb 2015 10:06:45 +0000 mremond comment 65251 at https://www.ejabberd.im XMPPStreamManagement receive https://www.ejabberd.im/node/24766#comment-65250 <p>then how should i go about implementing this? if you could share some code or a link where i can read about it.</p> <p>Thanks</p> Sun, 22 Feb 2015 19:57:58 +0000 vitulgoyal comment 65250 at https://www.ejabberd.im XMPPStreamManagement receive https://www.ejabberd.im/node/24766#comment-65249 <p>"a" element in XEP-0198 is not a child of message.</p> Sat, 21 Feb 2015 11:43:01 +0000 mremond comment 65249 at https://www.ejabberd.im XMPPStreamManagement receive https://www.ejabberd.im/node/24766#comment-65248 <p>I am referring to XEP-0198. </p> <p>I have successfully implemented XEP-0184.</p> Sat, 21 Feb 2015 11:22:34 +0000 vitulgoyal comment 65248 at https://www.ejabberd.im XMPPStreamManagement receive https://www.ejabberd.im/node/24766#comment-65247 <p>Which XMPP extension are you referring to ?</p> <p>If you are referring to <a href="">XEP-0184: Message Delivery Receipts</a>, the way I understand it is that this is the receiving client that is intended to send the ack when the message is received, not the server:</p> <blockquote><p> This specification defines an XMPP protocol extension for message delivery receipts, whereby the sender of a message can request notification that the message has been delivered to a client controlled by the intended recipient. </p></blockquote> Sat, 21 Feb 2015 10:11:00 +0000 mremond comment 65247 at https://www.ejabberd.im