Accept a block as a queue name