Example #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)
Example #2
0
File: odb.py Project: dsuch/zato
 def get_channel_amqp(self, cluster_id, channel_id):
     """ Returns a particular AMQP channel.
     """
     return channel_amqp(self._session, cluster_id, channel_id)
Example #3
0
File: odb.py Project: bboerner/zato
 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)
Example #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)