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:-
-
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:-
-
Applying settings for message acknowledgement.
connection.streamManagement.sendCountOnEveryIncomingStanza = true;
connection.streamManagement.requestResponseInterval = 0;
connection.streamManagement.addAcknowledgedStanzaListener(this.onMessageAck); -
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 ?