If a received message was not deleted, and it was delivered again after the vt (visibility timeout), it will result in totalrecv being counted twice for that single message. Eventually you see a situation where in a queue totalrecv is more than totalsent.
Is this on purpose? I am of the opinion that totalrecv should only be counted for them a message has been read and acknowledged (deleted). Alternatively, it may make sense to have another attributes called totalcompleted ?
If a received message was not deleted, and it was delivered again after the vt (visibility timeout), it will result in totalrecv being counted twice for that single message. Eventually you see a situation where in a queue totalrecv is more than totalsent.
Is this on purpose? I am of the opinion that totalrecv should only be counted for them a message has been read and acknowledged (deleted). Alternatively, it may make sense to have another attributes called totalcompleted ?