Azure的服务总线认购死信 [英] Azure Service Bus Subscriber Deadletter

查看:192
本文介绍了Azure的服务总线认购死信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我到处找的信息,这一点,但似乎无法找到我要找的。

我有一个蔚蓝的话题,一个订阅。

有关认购的处理失败的一些消息,他们已经被提上了死信队列中。

我可以访问的消息,但我在为如何恢复他们的损失。

我不希望创建邮件的副本,并将其发送的话题。我特别希望将它移动到它来自认购队列中。

有没有办法做到这一点?


解决方案

我不知道这是可能的。
我们主要是做处理&安培;恢复消息,是使用defering消息的模式。如果处理失败的消息,他就可以推迟该消息并跟踪messagesequence数(通常在一个管理/跟踪数据库或成分)的。
每当需要被重新处理该消息(重试),接收机然后可以具体地得到该消息(使用相同的延迟执行消息ID),并再次对其进行处理。

I've looked everywhere for information on this but can't seem to find what i'm looking for.

I've got an azure topic, with one subscription.

The handler for the subscription failed some messages, they've been put on the deadletter queue.

I can access the messages but i'm at a loss for how to restore them.

I don't want to create a copy of the message and send it to the topic. I specifically want to move it to the subscription queue it came from.

Is there any way to do this?

解决方案

I don't know if this is possible. What we mostly do to handle & resume messages, is to use the pattern of defering messages. If a handler fails a message, he can then defer the message and keep track of the messagesequence number (typically in a management / tracking database or component). Whenever the message needs to be reprocessed (retried), a receiver can then specifically get that message (using the same defered message id) and process it again.

这篇关于Azure的服务总线认购死信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆