On 05/02/2014 12:22PM, Haster wrote:
> Is there any chance to create temporary queue with some defined prefix?
There's no such concept as "temporary queue" in AMQP. Normally when you
want a temporary queue, you would create a queue which was server-named
and exclusive (and/or autodelete). Many client APIs have a convenience
method to do this, e.g. Channel.queueDeclare() in the Java client.
But exclusive / autodelete aren't really related to the name. So the
question you're asking becomes "can you create a server-named queue with
some defined prefix?"
The answer to that is no. But you don't need to use server-named queues
if you don't want. Just generate a queue name yourself - it can still be
exclusive / autodelete and thus usable as a temporary queue.