powered by Jive Software

XEP-198 Stream Management in strophe.js not working properly!

Hi there,

I am using https://github.com/strophe/strophejs-plugin-stream-management to get sent message acknowledgement. But not getting callback of message acknowledgement.

I am using openfire server 4.3.1 and stream.management.active property is enable.
I am using strophe.js client library.

Here is the step i am following:-

  1. Enabling stream management option by calling enable() method of stream plugin of strophe after getting openfire connection with success status.
    connection.streamManagement.enable();
    Request:-


    Response:-

  2. Applying settings for message acknowledgement.
    connection.streamManagement.sendCountOnEveryIncomingStanza = true;
    connection.streamManagement.requestResponseInterval = 0;
    connection.streamManagement.addAcknowledgedStanzaListener(this.onMessageAck);

  3. After sending few messages, i request for message acknowledgement using
    connection.streamManagement.requestAcknowledgement();
    Request:-


    Response:-

    But did’t get any acknowledgement callbacks.

Please help me on this, what am i doing wrong ?
Is there anything that i am missing ?