会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sailing1994
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年12月14日
Remoting简单使用
摘要: 1、RemotingModel public class Talker: MarshalByRefObject { /// <summary> /// 说话 /// </summary> /// <param name="word"></param> public void Talk(string
阅读全文
posted @ 2020-12-14 10:20 hangxing.pang
阅读(91)
评论(0)
推荐(0)
2020年11月24日
临时写的一个通用必填判断方法
摘要: private static ConcurrentDictionary<string, object> dictCache = new ConcurrentDictionary<string, object>(); #region 得到类里面的属性集合 /// <summary> /// 得到类里面
阅读全文
posted @ 2020-11-24 10:10 hangxing.pang
阅读(105)
评论(0)
推荐(0)
2020年9月22日
consumer一般消费方式
摘要: 1、短连接:basicget 独自去获取message request的方式去获取,断开式的2、长连接:eventbasicconsumer 【订阅式】 queuebasiccunsumer 队列式的,被弃用 《1》、确认机制 不管你是否确认,消息先全部打入你的consumer中 《2》、QOS =
阅读全文
posted @ 2020-09-22 14:00 hangxing.pang
阅读(381)
评论(0)
推荐(0)
Message中CreateBasicProperties属性
摘要: 一、message中的CreateBasicProperties 1、在之前的文章中,使用了很多这个属性 2、持久化 exchange,queue的时候,都有一个持久化的概念,mnesia,保存在数据库中去了 message呢,能否持久化呢 Persistent=true 持久化 二、lazy qu
阅读全文
posted @ 2020-09-22 13:26 hangxing.pang
阅读(455)
评论(0)
推荐(0)
dataTable 、dataView、Dataset 区别的经典回答
摘要: dataTable 、dataView、Dataset 区别的经典回答 1、DataView是DataTable的表示,DataTable表里的记录是没有顺序的,但显示可以有不同顺序(DataVIew), 但还是同一张表,所以一个DataTable可以有多个DataView,默认访问DataTabl
阅读全文
posted @ 2020-09-22 11:54 hangxing.pang
阅读(448)
评论(0)
推荐(0)
消息的确认
摘要: 1、消费端确认 自动确认:message出队列的时候自动确认【broke】 手动确认:message出队列之后,要应用程序去确认是否已经消费完毕 basic提供了哪些方法来做这些事情 1)、自动确认 BasicGet("mytest",true); 2)、手动确认 BasicGet("mytest"
阅读全文
posted @ 2020-09-22 11:50 hangxing.pang
阅读(198)
评论(0)
推荐(0)
死信处理和优先级
摘要: 何为Dead lettermax_length: 1)queue长度限制 【mongodg oplog】就是一个固定集合 2)queue中的message过期时间 3)basicreject basicnack等等一、Dead letter exchange有时候我们不希望message被drop掉
阅读全文
posted @ 2020-09-22 11:02 hangxing.pang
阅读(185)
评论(0)
推荐(0)
QUEUEDECLARE方法和参数
摘要: 1:queue1)、QueueDeclare 声明队列QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive, bool autoDelete, IDictionary<string, object> argume
阅读全文
posted @ 2020-09-22 09:37 hangxing.pang
阅读(2296)
评论(0)
推荐(0)
2020年9月17日
EXCHANGE中TOPIC的使用
摘要: 1、exchange [topic]1)direct 提前预知性的binding info、error、debug、warnning=》exchange2)fanout 群发性的binding3)headers and、or性质的binding x-match4)topic 归类性的binding【
阅读全文
posted @ 2020-09-17 11:25 hangxing.pang
阅读(327)
评论(0)
推荐(0)
2020年9月16日
EXCHANGE中HEADERS的使用
摘要: 1、exchange中的headers的使用headers是采用muliple attributes代替routing keyx-match[all/any] all:所有的header头信息必须匹配 any:只要一个匹配即可direct 只需要匹配一个routing key即可而现在的header
阅读全文
posted @ 2020-09-16 16:44 hangxing.pang
阅读(869)
评论(0)
推荐(1)
上一页
1
2
3
4
5
下一页
公告