set_message_queue_names(): while => for