Optimizes maybe_declare for transient queues
Also cache durable and auto_delete entities