apollo 源自 activemq,以快速、可靠著称,支持多协议:STOMP, AMQP, MQTT, Openwire, SSL, and WebSockets,下面就STOMP, AMQP, MQTT客户端进行介绍。

以下针对apollo 1.7.1 进行介绍

1、stomp

1.1 stomp client

apollo1.7.1 支持stomp1.0、1.1、1.2三个版本,各种语言的客户端支持的版本各不相同,下面是官方给的一个完整的列表

Name Language Description Compliance

activemessaging

Ruby an attempt to bring the simplicity and elegance of Rails development to the world of messaging 1.0

AnyEvent::STOMP

Perl a lightweight event-driven STOMP client 1.0

Apache CMS

C++ is a JMS-like API for C++ 1.0

Apache NMS

C# and .Net a JMS-like API for .Net 1.0

as3-stomp

Flash an actionscript 3 implementation of the STOMP protocol 1.0

delphistompclient

Delphi and FreePascal a STOMP client for Embarcadero Delphi and FreePascal 1.0

dstomp

Dynamic C a STOMP client library written in Dynamic C for Rabbit 1.0

Gozirra

Java a lightweight implementation of the STOMP specification 1.0

hxStomp

Haxe a TCP socket-based STOMP protocol client library written for the Haxe language 1.0

libstomp

C an APR based C library 1.0

Net::Stomp

Perl a Streaming Text Orientated Messaging Protocol client 1.0

Net::STOMP::Client

Perl STOMP object oriented client module 1.0 1.1 1.2

objc-stomp

Objective-C a simple STOMP client based on AsynSocket 1.0

POE::Component::Client::Stomp

Perl a Perl extension for the POE Environment 1.0

onstomp

Ruby client library for message passing with brokers that support the STOMP protocol 1.0 1.1

Public.Protocols.Stomp

Pike Public.Protocols.Stomp 1.0

pyactivemq

Python module for communicating with the ActiveMQ message broker 1.0

React/STOMP

PHP STOMP bindings for React 1.1

simplisticstompclient

PHP a simpler STOMP client for PHP 1.0

Stampy

Java a Java implementation of the STOMP 1.2 specification 1.2

stomp

PHP STOMP client extension 1.0

stomp

Ruby client for the STOMP messaging protocol 1.0 1.1

stomper

Python a client implementation of the STOMP protocol 1.0

stomp.erl

Erlang a STOMP client for Erlang 1.0

stompest

Python a full-featured STOMP implementation for Python including both synchronous and asynchronous clients 1.0 1.1 1.2

StompKit

Objective-C modern event-driven Objective-C library for STOMP 1.2

stompy

Python implementation of the STOMP protocol in Python 1.0

stompngo

Go a STOMP 1.1+ Client Package 1.0 1.1 1.2

stomp-php

PHP the FuseSource PHP client implementation 1.0

stomp.py

Python a Python client library which can also be run as a standalone, command-line client for testing. 1.0 1.1 1.2

stomp.js

JavaScript is a JavaScript library for Web browsers using STOMP Over HTML Web Sockets 1.0 1.1

tStomp

TCL a STOMP Implementation for TCL 1.1

Zend_Queue

PHP for Zend PHP clients 1.0

1.2 stomp client官方示例

C#: NMS

C: CMS

JAVA:fusesource

Perl:Net::STOMP::Client

Python:stomppy、stompest

ruby:stomp

2、AMQP协议

2.1  AMQP client

Apollo 1.7.1 支持AMQP 1.0,凡是支持AMQP1.0的client,都可以与Apollo 1.7.1 进行交互。

当然,为了更好地支持amqp协议,建议你在apollo的配置文件中添加以下amqp的默认协议端口

<connector id="amqp" bind="tcp://0.0.0.0:5672"/>
<connector id="amqps" bind="ssl://0.0.0.0:5671"/>

 2.2 amqp client 官方示例

官方特别推荐了 Apache Qpid Proton project (支持C、C++、Java、Python) http://qpid.apache.org/proton/

java: Proton

python: Proton

3、mqtt协议

3.1 apollo 1.7.1支持 v3.1 协议,支持以下客户端

完整列表请移步这里 https://github.com/mqtt/mqtt.github.io/wiki/libraries

3.2 官方示例

Java: mqtt-client

apollo各协议支持的客户端的更多相关文章

  1. [转载]socket下server端支持多客户端并发访问简单实现

    /*Author: wainiwann *Source: 博客园 http://www.cnblogs.com/wainiwann *Remarks:  转载请说明出处!!! */ 感觉很不错,可以学 ...

  2. Qt5 基于TCP传输的发送/接收文件服务器(支持多客户端)

    一.实现功能 1.服务器端选择待发送的文件,可以是多个 2.开启服务器,支持多客户端接入,能够实时显示每个客户端接入状态 3.等待所有客户端都处于已连接状态时,依次发送文件集给每个客户端,显示每个客户 ...

  3. MQTT协议笔记之mqtt.io项目HTTP协议支持

    前言 MQTT协议诞生之初,就未曾考虑通过HTTP传输.这也正常,网络受限.不稳定网络不太适合HTTP(2G/3G网络大家使用WAP不也OK嘛).在网络较为充裕的桌面端而言,虽纯文本对比二进制而言没多 ...

  4. 牛客网Java刷题知识点之UDP协议是否支持HTTP和HTTPS协议?为什么?TCP协议支持吗?

    不多说,直接上干货! 福利 => 每天都推送 欢迎大家,关注微信扫码并加入我的4个微信公众号:   大数据躺过的坑      Java从入门到架构师      人工智能躺过的坑          ...

  5. 【推荐】CentOS安装Subversion-1.8.11+HTTP协议支持配置

    注:以下所有操作均在CentOS 6.5 x86_64位系统下完成. 我们需要搭建一个自己的SVN服务器. 此外,搭建好的SVN服务器除了需要支持svn协议外,最好还需要支持HTTP协议和HTTPS协 ...

  6. Jmeter中Websocket协议支持包的使用

    Jmeter中Websocket协议支持包的使用(转) 参考的来源是国外一篇文章,已经整理成pdf格式(http://yunpan.cn/cFzwiyeQDKdh3 (提取码:9bcf)) 转自:ht ...

  7. C#实现http协议支持上传下载文件的GET、POST请求

    C#实现http协议支持上传下载文件的GET.POST请求using System; using System.Collections.Generic; using System.Text; usin ...

  8. 【推荐】CentOS安装Subversion-1.8.17+HTTP协议支持配置

    注:以下所有操作均在CentOS 6.5 x86_64位系统下完成. 我们需要搭建一个自己的SVN服务器. 此外,搭建好的SVN服务器除了需要支持svn协议外,最好还需要支持HTTP协议和HTTPS协 ...

  9. 推流协议 支持RTMP协议推流

    Stream Type Stream play domain nameStreaming Domain Name   播流 推流  推流协议 支持RTMP协议推流

随机推荐

  1. [C语言]删除用户自定义后缀名的所有文件

    环境:win7 IDE:DEV-C++ 编译器:GCC 编译结果:Success 运行结果:Success 使用说明: 1.输入需要查询的目录,比如e: 2.输入需要删除的后缀名:比如:txt 注意: ...

  2. Tfs更新 TfsConfig

    Start TfsJobAgent TfsServiceControl unquiesce 更新serviving状态 TfsConfig diagnose /scope:updates TfsCon ...

  3. PKU 4334 Trouble(哈希)

    原题链接 思路:哈希存入相反数 注意:HDU不支持long long要使用__int64 #include<cstdio> #include<cstring> #define ...

  4. Gentoo64无法启动eth0的问题

    Gentoo64在net文件中配置好eth0的静态IP 代码 1.2: /etc/conf.d/net文件的一个示例 # DHCP config_eth0=( "dhcp" ) # ...

  5. SSH整合不错的博客

    https://blog.csdn.net/struggling_rong/article/details/63153833?locationNum=9&fps=1  好好看看看哦

  6. Python的进程、线程和threading模块

    (注:本文部分内容摘自互联网,由于作者水平有限,不足之处,还望留言指正.) 怀念在学校念书的时候,我不小心触碰到了错误,老师会说:你错了:而我却总是倔强得以为自己没错.我的内心是不屑的,直到在真理面前 ...

  7. nginx添加新模块

    1.下载模块 git clone https://github.com/agentzh/echo-nginx-module 2.放入指定位置 mv echo-nginx-module-master / ...

  8. PentestBox简明使用教程

    介绍 PentestBox:渗透测试盒子 顾名思义,这是一个渗透工具包,但是不同于绝大多数国内xx工具包的是,这里集成的大都是Linux下的工具,Kali Linux上面的常用的很多工具这里面也都集成 ...

  9. maven项目报Failed to read artifact descriptor

    公司私服是个垃圾,处理自定义的jar包外,没有提供到中央仓库的路由,以至于通过maven下载jar包是老是报错. 折腾好久,最后在maven的update project时勾选了force updat ...

  10. Java-JVM调优常见配置举例

    常见配置举例 堆大小设置JVM 中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制:系统的可用虚拟内存限制:系统的可用物理内存限制.32位系统 下,一般限制在1.5G~ ...