AckSync is the synchronous version of Ack. This indicates successful message processing.
(opts ...AckOpt)
| 3660 | // AckSync is the synchronous version of Ack. This indicates successful message |
| 3661 | // processing. |
| 3662 | func (m *Msg) AckSync(opts ...AckOpt) error { |
| 3663 | return m.ackReply(ackAck, true, opts...) |
| 3664 | } |
| 3665 | |
| 3666 | // Nak negatively acknowledges a message. This tells the server to redeliver |
| 3667 | // the message. You can configure the number of redeliveries by passing |