简体   繁体   English

如何使用MassTransit for RabbitMQ为在使用者中引发异常的消息配置交换,以便以后重用它们?

[英]How to configure an exchange for messages that raise exceptions in consumers with MassTransit for RabbitMQ in order to reuse them later on?

I am wondering how to configure an exchange for messages that raise exceptions in consumers with MassTransit for RabbitMQ in order to replay them later on? 我想知道如何使用MassTransit for RabbitMQ为在消费者中引发异常的消息配置交换,以便以后重播它们? Is that possible out of the box? 开箱即用吗?

It works out of the box without any configuration. 它无需任何配置即可直接使用。 All messages that caused the consumer to fail are placed to the dead-letter queue as described in the documentation in detail. 所有导致使用者失败的消息都将按照文档中的详细说明放入死信队列。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM