Exemple #1
0
 def get_channel_amqp(self, cluster_id, channel_id):
     """ Returns a particular AMQP channel.
     """
     with closing(self.session()) as session:
         return query.channel_amqp(session, cluster_id, channel_id)
Exemple #2
0
 def get_channel_amqp(self, cluster_id, channel_id):
     """ Returns a particular AMQP channel.
     """
     return channel_amqp(self._session, cluster_id, channel_id)
Exemple #3
0
 def get_channel_amqp(self, cluster_id, channel_id):
     """ Returns a particular AMQP channel.
     """
     with closing(self.session()) as session:
         return query.channel_amqp(session, cluster_id, channel_id)
Exemple #4
0
 def get_channel_amqp(self, cluster_id, channel_id):
     """ Returns a particular AMQP channel.
     """
     return channel_amqp(self._session, cluster_id, channel_id)