Package org.springframework.amqp.core
Class AnonymousQueue
java.lang.Object
org.springframework.amqp.core.AbstractDeclarable
org.springframework.amqp.core.Queue
org.springframework.amqp.core.AnonymousQueue
- All Implemented Interfaces:
- Cloneable,- Declarable
Represents an anonymous, non-durable, exclusive, auto-delete queue. The name has the
 form 'spring.gen-<base64UUID>' by default, but it can be modified by providing a
 
NamingStrategy. Two naming strategies Base64UrlNamingStrategy and
 UUIDNamingStrategy are provided but you can implement your own. Names should be
 unique.- Author:
- Dave Syer, Gary Russell
- 
Field SummaryFields inherited from class org.springframework.amqp.core.QueueX_QUEUE_LEADER_LOCATOR
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a queue with a Base64-based name.AnonymousQueue(Map<String, Object> arguments) Construct a queue with a Base64-based name with the supplied arguments.AnonymousQueue(NamingStrategy namingStrategy) Construct a queue with a name provided by the supplied naming strategy.AnonymousQueue(NamingStrategy namingStrategy, Map<String, Object> arguments) Construct a queue with a name provided by the supplied naming strategy with the supplied arguments.
- 
Method SummaryMethods inherited from class org.springframework.amqp.core.Queueclone, getActualName, getName, isAutoDelete, isDurable, isExclusive, setActualName, setLeaderLocator, toStringMethods inherited from class org.springframework.amqp.core.AbstractDeclarableaddArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
- 
Constructor Details- 
AnonymousQueuepublic AnonymousQueue()Construct a queue with a Base64-based name.
- 
AnonymousQueueConstruct a queue with a Base64-based name with the supplied arguments.- Parameters:
- arguments- the arguments.
 
- 
AnonymousQueueConstruct a queue with a name provided by the supplied naming strategy.- Parameters:
- namingStrategy- the naming strategy.
- Since:
- 2.1
 
- 
AnonymousQueueConstruct a queue with a name provided by the supplied naming strategy with the supplied arguments. By default, these queues will be created on the node the application is connected to.- Parameters:
- namingStrategy- the naming strategy.
- arguments- the arguments.
- Since:
- 2.1
 
 
-