support sending and receiving number of retries of message until it was acknowledged