如何重放 nServiceBus 消息
How to replay nServiceBus message
是否可以在不使用 ServiceControl/ServicePulse
的情况下通过 nServiceBus
重播所有失败的消息?
我正在使用 NServiceBus.Host.exe
来托管我们的端点。我们的 ServiceControl/ServicePulse
数据库已损坏。我能够重新创建它,但现在我的 SQL 数据库中有一些失败的消息,这些消息通过 ServicePulse 是不可见的。
据我所知,特定堆栈中没有内置任何东西可以解决这个问题。
当我 运行 遇到这样的问题之前,我通常会设置一个控制台应用程序以将一些命令发送到端点,然后在端点中设置一个自定义处理程序来修复数据不一致。这允许您在 dev/uat 环境中测试 "fix",然后您有一个自动化的生产解决方案来解决问题。
this会有帮助吗?
看看readme.md
For people who want the functionality that this tool previously
provided please take one of the following actions
Return to source queue via either ServiceInsight or ServicePulse.
Return to source queue using custom scripting or code. This has the
added benefit enabling possible performance and usability
optimizations since, as the business owner, you have more context as
to how your error queue should be managed. For example using this
approach it is trivial for you to choose to batch multiple sends
inside the same Transaction. Manually return to source queue via any
of the MSMQ management tools. If you still want to use
MsmqReturnToSourceQueue.exe feel free to use the code inside this
repository to compile a copy.
您可以查看 the link provided 来构建您自己的脚本(以 mach SQL)并触发错误消息包装器,以便您可以将剥离的消息推回 SQL 队列.
这有帮助吗?
如果没有,请联系特定 dot net 的支持人员,我们很乐意提供帮助:-)
是否可以在不使用 ServiceControl/ServicePulse
的情况下通过 nServiceBus
重播所有失败的消息?
我正在使用 NServiceBus.Host.exe
来托管我们的端点。我们的 ServiceControl/ServicePulse
数据库已损坏。我能够重新创建它,但现在我的 SQL 数据库中有一些失败的消息,这些消息通过 ServicePulse 是不可见的。
据我所知,特定堆栈中没有内置任何东西可以解决这个问题。
当我 运行 遇到这样的问题之前,我通常会设置一个控制台应用程序以将一些命令发送到端点,然后在端点中设置一个自定义处理程序来修复数据不一致。这允许您在 dev/uat 环境中测试 "fix",然后您有一个自动化的生产解决方案来解决问题。
this会有帮助吗?
看看readme.md
For people who want the functionality that this tool previously provided please take one of the following actions
Return to source queue via either ServiceInsight or ServicePulse. Return to source queue using custom scripting or code. This has the added benefit enabling possible performance and usability optimizations since, as the business owner, you have more context as to how your error queue should be managed. For example using this approach it is trivial for you to choose to batch multiple sends inside the same Transaction. Manually return to source queue via any of the MSMQ management tools. If you still want to use MsmqReturnToSourceQueue.exe feel free to use the code inside this repository to compile a copy.
您可以查看 the link provided 来构建您自己的脚本(以 mach SQL)并触发错误消息包装器,以便您可以将剥离的消息推回 SQL 队列.
这有帮助吗?
如果没有,请联系特定 dot net 的支持人员,我们很乐意提供帮助:-)