capture queue_name generator in init