xmppqostigase

addOutPacket in Tigase Component


I am implementing QOS in tigase to ensure delivery of messages.Below are listed my QOS steps

My question is how can i send packet again sitting inside that thread.

Your suggestions are highly thankful

EDIT:

Some clarifications:


Solution

  • Tigase already support XEP-0198 - stream management extension which includes packet delivery confirmation. Therefore I am not sure if you really need to implement your QoS system for Tigase. Please explain why XEP-0198 is not good enough and what you are trying to implement. What you really mean by QoS system? A few other questions - what happens when the message cannot be delivered let's say 100 times? Are you going to retry indefinitely? Another question. How many messages can you keep in your cache? What if your cache is full and you cannot put a new message in the cache? Is your QoS system designed to handle load of 100k messages per second for 10 millions of connected users?