Suspecting duplicate message from RabbitMQ

291 Views Asked by At

i have service which uses NServiceBus to communicate with other services. My problem is that i am supposed to get X amount of messages and i get X+1 or X+2 or X+3. This problem occurs when the service is using multiple threads, but when i force this service to use a single thread, i do not have this issue.

I am suspecting RabbitMQ 'thinks' the message failed and resends it, or some other rabbit mechanism is at work here that sends me extra messages.

Are my suspicions valid? Thank you.

Edit: I now clearly see that i get the same message twice.

0

There are 0 best solutions below