You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
data-transport/transport/rabbitmq.py

279 lines
8.1 KiB
Python

"""
Data Transport - 1.0
Steve L. Nyemba, The Phi Technology LLC
This file is a wrapper around rabbitmq server for reading and writing content to a queue (exchange)
"""
self.port= 5672 if 'port' not in params else params['port']
_mode = 1 #-- Non persistent
#self.close()
# r[qid].append( self.data)
return self.data