I am using spring-amqp
and testing RabbitListener
#AcknowledgeMode
.
When i set RabbitListener
#AcknowledgeMode
#AUTO
,I triggered the nack reponse by thorwing a exception in my RabbitListener
.
When i set defaultRequeueRejected
to true
(it means message will requeue), package by wireshark:
It looks like the last two bits represent these two properties.
And When i set defaultRequeueRejected
to false
(it means message will not requeue), package by wireshark:
Requeue
should be false
.So is this a wireshark bug? Or do I understand something wrong?
It looks like a wireshark bug to me 0x03
Vs. 0x01
.
I just looked at the code in the client lib and the multiple bit is the LSB and the requeued bit is the next bit.