示例#1
0
 def __setup_bind_to_message_queue(self, conf):
     message_queue_url = conf.get("message_queue_url", None)
     queue_state = None
     if message_queue_url:
         queue_state = messaging.bind_app(self, message_queue_url, conf)
     self.__queue_state = queue_state
示例#2
0
文件: core.py 项目: erasche/pulsar
 def __setup_bind_to_message_queue(self, conf):
     message_queue_url = conf.get("message_queue_url", None)
     queue_state = None
     if message_queue_url:
         queue_state = messaging.bind_app(self, message_queue_url, conf)
     self.__queue_state = queue_state