@synchronized(lock)<EOL><INDENT>def size(self, destination):<DEDENT>
if not destination in self.queue_metadata:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>return len(self.queue_metadata[destination]['<STR_LIT>'])<EOL><DEDENT>
Size of the queue for specified destination.

@param destination: The queue destination (e.g. /queue/foo)
@type destination: C{str}

@return: The number of frames in specified queue.
@rtype: C{int}