I'd prefer an if/else or a = b ? c : d so we only set queueName once (for code clarity).