No, i don’t want to add additional semantic. I want to reuse the same standard ack messages.
Suppose I’m offline, all the messages sent to me are stored into offline DB.
When I will be online, I receive the first message and I have to manage it before managing the other. Moreover, when I receive this first message, I automatically send the ack and Openfire delete this message from the DB.
If for some reason my app crashes before managing the first message, when it goes online again, it cannot receive that first message anymore, so it cannot be able to manage the other messages.
This is my problem.
Do you have any idea?