(self, request, tenant_id, queue_name)
return json.dumps(response_body)
Lists messages from the queue.
Lists messages from the queue.
Lists messages from the queue .
def list_messages_for_queue(self, request, tenant_id, queue_name):
        """
        Lists messages from the queue.
        """
        q_collection = self._queue_collection(tenant_id)
        echo = request.args.get(b'echo', [b'false'])[0] == b'true'
        (response_body, response_code) = q_collection.list_messages_for_queue(
            queue_name, _client_id(request), echo)
        request.setResponseCode(response_code)
        return json.dumps(response_body)
def list_messages_for_queue ( self , request , tenant_id , queue_name ) : q_collection = self . _queue_collection ( tenant_id ) echo = request . args . get ( b'echo' , [ b'false' ] ) [ 0 ] == b'true' ( response_body , response_code ) = q_collection . list_messages_for_queue ( queue_name , _client_id ( request ) , echo ) request . setResponseCode ( response_code ) return json . dumps ( response_body )