2

In case a message is being "retried" as a result of an exception, is it being returned physically to the queue? to the beginning? to the end? Is it re-processed after the existed messages in queue? Is it being kept in application memory?

I have not found any description for the masstransit retry mechanism flow in the documentation.

Please refer me to any documentation that explains it, thanks.

4

1 回答 1

2

MassTransit 将在同一消费者交付中重试消息 - 重试仅在消费者/传奇/处理程序交付管道上。在 saga 的情况下,数据库事务(如果存在)被中止,并启动一个新事务 - 包括从数据库中重新读取 saga 实例。

消息不会返回到队列以供其他工作人员处理。

如果达到重试策略限制,则将消息移动到_error队列。

于 2017-07-25T16:22:18.483 回答