code: def exchange_bind_to_queue(self, type, exchange_name, routing_key, queue):
          
          self._channel.exchange_declare(exchange=exchange_name,
                                         exchange_type=type)
          self._channel.queue_bind(queue=queue,
                                   exchange=exchange_name,
                                   routing_key=routing_key)
docs: Declare exchange and bind queue to exchange
          :param type: The type of exchange
          :param exchange_name: The name of exchange
          :param routing_key: The key of exchange bind to queue
          :param queue: queue name