def filter_connection_params(queue_params):
CONNECTION_PARAMS = ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',)<EOL>return dict((p,v) for (p,v) in queue_params.items() if p in CONNECTION_PARAMS)<EOL>
Filters the queue params to keep only the connection related params.