Spring AMQP

org.springframework.amqp.core
Class UniquelyNamedQueue

java.lang.Object
  extended by org.springframework.amqp.core.Queue
      extended by org.springframework.amqp.core.UniquelyNamedQueue

public class UniquelyNamedQueue
extends Queue

Create a queue with a unique name.

Author:
Mark Pollack

Constructor Summary
UniquelyNamedQueue()
          Create a uniquely named queue.
UniquelyNamedQueue(String prefix)
          Create a uniquely named queue with a fixed prefix.
 
Method Summary
 
Methods inherited from class org.springframework.amqp.core.Queue
getArguments, getName, isAutoDelete, isDurable, isExclusive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UniquelyNamedQueue

public UniquelyNamedQueue()
Create a uniquely named queue. The name of the queue is a random UUID.


UniquelyNamedQueue

public UniquelyNamedQueue(String prefix)
Create a uniquely named queue with a fixed prefix. The constructor argument specifies the prefix which is prepended to a random UUID.

Parameters:
prefix -

Spring AMQP

Copyright © 2011. All Rights Reserved.