Rabbitmq spring xd中DLQ配置的自动处理

Rabbitmq spring xd中DLQ配置的自动处理,rabbitmq,spring-xd,Rabbitmq,Spring Xd,1) 我想为我的流配置DLQ stream create --name httptest7 --definition "http | http-client --url='''http://localhost:8080/mock-sentmessage/customers/send-email''' --httpMethod=GET | log" stream deploy httptest7 --properties module.*.consumer.autoBindDLQ=true

1) 我想为我的流配置DLQ

 stream create --name httptest7 --definition "http |  http-client --url='''http://localhost:8080/mock-sentmessage/customers/send-email''' --httpMethod=GET | log" 
stream deploy httptest7 --properties module.*.consumer.autoBindDLQ=true
2) 我做了

autoBindDLQ=true
假设spring xd无法处理我的消息并将其发布到dlq,我有一个疑问。他们会自动将我移动到原始队列以重试,还是我应该编写一个处理器将我的dlq消息移动到原始队列

3) 现在我放下我的Web服务
http://localhost:8080/mock-sentmessage/customers/send email
我可以在我的dlq中看到消息

4) 当我提起我的服务时。但根据我的理解,我认为DLQ会在我的服务结束时再次重试该消息

但是从DLQ它不会再次重试。我需要设置什么配置吗

根据文件:


没有提供自动机制将死信邮件移回公交车队列。

我不确定您的问题是什么,或者您是否有问题;您似乎通过引用文档回答了自己的问题:

没有提供自动机制将死信消息移回总线队列

因此,没有;没有可以更改的“设置”

您可以做几件事—编写自己的代码,将消息从DLQ移回主队列;使用SpringAMQP或您选择的任何语言只需要几行Java


您还可以使用在DLQ上设置消息TTL,并将其配置为在TTL过期时路由回主队列。

正如您所知,您可以使用Rabbitmq中的Spoot插件将DLQ移回总线队列