Dead letters

637 views
Skip to first unread message

Mikael Johansson

unread,
Apr 20, 2017, 3:50:04 AM4/20/17
to masstransit-discuss
Hello,

I have a message that gets moved to the _Skipped queue with the reason dead letters.
When reading up abit I found https://www.rabbitmq.com/dlx.html and I quickly understood that dead letters can happen for several reasons.

Is there any way to find out whats the reason was for moving it to the _skipped queue? According to my link there should have been a reason on the message. 
But with MT there only stands MT-Reason: Dead letter.


Alexey Zimarev

unread,
Apr 20, 2017, 2:41:45 PM4/20/17
to masstransit-discuss
MassTransit moves messages to dead letter (_skipped) queue if there is no consumer for the message but there is a binding between the message type exchange and endpoint exchange.

This usually happens, when you used to have a consumer for some message type at an endpoint, but then removed it. The binding is not automatically removed, so messages keep coming, but since there is no consumer - they are moved to the dead letter queue.

Mikael Johansson

unread,
Apr 21, 2017, 3:39:06 AM4/21/17
to masstransit-discuss
Thanks for taking some time for us Alexey

It sounds reasonable that there could be an old consumer not removed so I did remove all my queues and exchanges. 
However even after that the issue is still there. Also it is only happening when I send a specific event and only every second one.

Obviously it must be something in our code, but I am confused. Any idea around how to investigate this issue? 

Chris Patterson

unread,
Apr 21, 2017, 10:29:11 AM4/21/17
to masstrans...@googlegroups.com
Code examples on GitHub, or snippets, get live support in the Gitter.im chat room.

--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/c59c17b7-e491-4bbc-989f-5aa8dfdf2316%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mikael Johansson

unread,
Apr 21, 2017, 12:18:36 PM4/21/17
to masstrans...@googlegroups.com
I did find the reason after a while. We did register two buscontrolers and one of them did not setup the consumers. 

But thanks for your reply! 

--
You received this message because you are subscribed to a topic in the Google Groups "masstransit-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/masstransit-discuss/e-77O2vOYqo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to masstransit-discuss+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages