1.rabbitmq支持多种协议 包括amqp
rabbitmq-server - AMQP server written in Erlang!!!!!apt-cache帮助
2.
ConnectionFactory factory
这个api处理了socket连接和协议相关的操作3.
send失败,可能是磁盘空间不足,修改配置文件
4.
接收者是一个监听动作,而且需要保证队列已存在
5. topic和routing的区别是topic是会话,是正则匹配,routing是严格匹配
6.rpc是有反馈的queue
7.queuedeclare是必须要有的,因为无论收和发都要与一个队列关联,除非用到了非匿名的exchange,但是这时候需要将queue和exchange关联
8.rabbitmq实现的是ampq协议,也是有个服务器broker的,负责消息队列缓存,还有支持订阅推送功能。rabbitmq同时还有mqtt插件,
RabbitMQ MQTT plugin targets MQTT 3.1.1 and supports a broad range of MQTT clients. It also makes it possible for MQTT clients to interoperate with AMQP 0-9-1, AMQP 1.0, and STOMP clients. There is also support for multi-tenancy.
The plugin builds on top of RabbitMQ core protocol's entities: exchanges and queues. Messages published to MQTT topics use a topic exchange (amq.topic by default) internally. Subscribers consume from RabbitMQ queues bound to the topic exchange. This both enables interoperability with other protocols and makes it possible to use the Management plugin to inspect queue sizes, message rates, and so on.