Not logged in. · Lost password · Register
Forum: MatriX RSS
Geetha #1
Member since Oct 2012 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: Message queue
I have just attached the code for sending messages.
Is this the correct approach or i need to maintain a queue for synchronous sending???
Does Matrix SDK manages message queue for sending packets one by one??
Please help me ... I m a new bee so not very much aware of many things...


Thank you in advance.
Alex #2
Member since Feb 2003 · 4330 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
if you send only some messages this works fine.

If you have to send a huge amount of messages which cause high volume of traffic you should implement a logic which tells you that you not putting more message sin the queue than your network can handle. There are different XMPP extensions for this like Message receipts.
If you send custom business objects then using Iqs instead of messages solve also this problem, because an Iq gets always a response message from the other entity.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS