代理脱机时是否可以保留消息? [英] Is there a way to persist messages when the broker is offline?

查看:57
本文介绍了代理脱机时是否可以保留消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以支持代理处于脱机状态,以便消息可以临时存储在光盘中,并在代理联机后尝试提交.这是为了在代理崩溃的情况下提供弹性.我尚未在文档中找到任何内容.

is there a way to support a scenario where broker is offline so that messages can be stored temporarily in disc and attempt to submit once the broker comes online. This is to provide resilience in scenarios where the broker goes down. I have not found anything in the documentation yet.

推荐答案

MassTransit内置没有这样的东西.如果代理不可用,则无法发布或发送消息.

There isn't anything like this built into MassTransit. If the broker is unavailable, messages cannot be published or sent.

这篇关于代理脱机时是否可以保留消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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