我想读取服务总线中的订阅消息。我正在使用Python的
我遇到了以下错误 -
qpid-proton
库。我正在遵循此链接以接收消息Proton-Python-Example-Simple-Receive。我将此URL传递给从服务总线接收消息。url = 'amqps://mynamespace.servicebus.windows.net/SharedAccessKeyName=xxxx/SharedAccessKey=xxxxxxxxx/python-test/Subscriptions/AllMessages'
# python-test is the name of the topic
# AllMessages is the name of the subscription
我遇到了以下错误 -
ERROR:root:The messaging entity 'sb://mynamespace.servicebus.windows.net/sharedaccesskeyname=xxxxx/sharedaccesskey=xxxxxxxxxxxxx/python-test/subscriptions/allmessages' could not be found. TrackingId:c1e4a39edbd44040b2fd48a552d6ae2b_G2, SystemTracker:gateway6, Timestamp:7/19/2017 7:58:51 AM
由于上述URL格式不正确,导致出现此错误。我在网络上搜索了很多资料,但没有找到相关的文档。请问如何正确设置URL格式以通过qpid读取订阅消息?