#NEWLINE# def _declare( self , passive = False ) : #NEWLINE# #INDENT# 'Return a specification.Queue.Declare class pre-composed for the rpc\n        method since this can be called multiple times.\n\n        :param bool passive: Passive declare to retrieve message count and\n                             consumer count information\n        :rtype: pamqp.specification.Queue.Declare\n\n        ' #NEWLINE# arguments = dict ( self . arguments ) #NEWLINE# if self . expires : #NEWLINE# #INDENT# arguments [ 'x-expires' ] = self . expires #NEWLINE# #UNINDENT# if self . message_ttl : #NEWLINE# #INDENT# arguments [ 'x-message-ttl' ] = self . message_ttl #NEWLINE# #UNINDENT# if self . max_length : #NEWLINE# #INDENT# arguments [ 'x-max-length' ] = self . max_length #NEWLINE# #UNINDENT# if self . dead_letter_exchange : #NEWLINE# #INDENT# arguments [ 'x-dead-letter-exchange' ] = self . dead_letter_exchange #NEWLINE# #UNINDENT# if self . dead_letter_routing_key : #NEWLINE# #INDENT# arguments [ 'x-dead-letter-routing-key' ] = self . dead_letter_routing_key #NEWLINE# #UNINDENT# LOGGER . debug ( 'Declaring Queue %s, durable=%s, passive=%s, exclusive=%s, auto_delete=%s, arguments=%r' , self . name , self . durable , passive , self . exclusive , self . auto_delete , arguments ) #NEWLINE# return specification . Queue . Declare ( queue = self . name , durable = self . durable , passive = passive , exclusive = self . exclusive , auto_delete = self . auto_delete , arguments = arguments )