155
155
# Share this same connection for these Consumers
156
rpc.create_consumer(self.conn, self.topic, self,
159
158
node_topic = '%s.%s' % (self.topic, self.host)
160
rpc.create_consumer(self.conn, node_topic, self,
163
rpc.create_consumer(self.conn, self.topic, self, fanout=True)
165
163
# Consume from all consumers in a thread
166
164
self.conn.consume_in_thread()