Why channel.ack takes message type as input instead of just delivery tag
shashidhar100 opened this issue · comments
SHASHIDHAR VEERAPPA KUDARI commented
As mentioned in the AMPQ 0 - 9 - 1 here we just need to pass deliveryTag and bit to acknowledge the message but current implementation uses message type, is there any particular reason for this.
Stephen Cresswell commented
Just an API design choice - you can see here the deliveryTag being extracted from the message
SHASHIDHAR VEERAPPA KUDARI commented
So even if I give other fields as undefined it doesn't make any difference right?
Stephen Cresswell commented
Correct
SHASHIDHAR VEERAPPA KUDARI commented
Thank You, for replying fast