stompngo 1.0 1.1 1.2 Go客户端库 https://github.com/gmallard/stompngo stomp.py 1.0 1.1 1.2 Python客户端库 https://github.com/jasonrbriggs/stomp.py TCL客户端库 https://github.com/siemens/tstomp 下面介绍python使用stomp与activemq完成stomp通信 安装stomp.py : https://github.com/jasonrbriggs/stomp.py 下载后安装: python setup.py install 很简单,然后一个简单的示例: import time
命令如下: pip install stomp.py 接着,就是上代码了具体如下: # -*-coding:utf-8-*- import stomp import time queue_name
send messages to an ActiveMQ broker using the STOMP protocol in a loop with Python, you can use the stomp.py
使用 Python 的连接例子,发现 stomp.py 有一个问题不能很好的支持 failover。