parameters: (self, activity=None, **kw)
return_statement: return message_list
docstring: List messages waiting in queues
docstring_summary: List messages waiting in queues
docstring_tokens: List messages waiting in queues
function: def getMessageList(self, activity=None, **kw):
        """
          List messages waiting in queues
        """
        if activity:
          return activity_dict[activity].getMessageList(aq_inner(self), **kw)
  
        message_list = []
        for activity in activity_dict.itervalues():
          try:
            message_list += activity.getMessageList(aq_inner(self), **kw)
          except AttributeError:
            LOG('getMessageList, could not get message from Activity:',0,activity)
        return message_list
function_tokens: def getMessageList ( self , activity = None , * * kw ) : if activity : return activity_dict [ activity ] . getMessageList ( aq_inner ( self ) , * * kw ) message_list = [ ] for activity in activity_dict . itervalues ( ) : try : message_list += activity . getMessageList ( aq_inner ( self ) , * * kw ) except AttributeError : LOG ( 'getMessageList, could not get message from Activity:' , 0 , activity ) return message_list