public class AnonymousQueue extends Queue
AnonymousQueue.NamingStrategy
. Two naming strategies Base64UrlNamingStrategy
and
UUIDNamingStrategy
are provided but you can implement your own. Names should be
unique.Modifier and Type | Class and Description |
---|---|
static class |
AnonymousQueue.Base64UrlNamingStrategy
Deprecated.
- use the
Base64UrlNamingStrategy . |
static interface |
AnonymousQueue.NamingStrategy
Deprecated.
- use the
NamingStrategy . |
static class |
AnonymousQueue.UUIDNamingStrategy
Deprecated.
- use the
UUIDNamingStrategy . |
X_QUEUE_MASTER_LOCATOR
Constructor and Description |
---|
AnonymousQueue()
Construct a queue with a Base64-based name.
|
AnonymousQueue(AnonymousQueue.NamingStrategy namingStrategy)
Deprecated.
in favor of
AnonymousQueue(NamingStrategy) . |
AnonymousQueue(AnonymousQueue.NamingStrategy namingStrategy,
Map<String,Object> arguments)
Deprecated.
in favor of
AnonymousQueue(NamingStrategy, Map) . |
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.
|
getActualName, getArguments, getName, isAutoDelete, isDurable, isExclusive, setActualName, setMasterLocator, toString
getDeclaringAdmins, isIgnoreDeclarationExceptions, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
public AnonymousQueue()
public AnonymousQueue(Map<String,Object> arguments)
arguments
- the arguments.@Deprecated public AnonymousQueue(AnonymousQueue.NamingStrategy namingStrategy)
AnonymousQueue(NamingStrategy)
.namingStrategy
- the naming strategy.@Deprecated public AnonymousQueue(AnonymousQueue.NamingStrategy namingStrategy, Map<String,Object> arguments)
AnonymousQueue(NamingStrategy, Map)
.namingStrategy
- the naming strategy.arguments
- the arguments.public AnonymousQueue(NamingStrategy namingStrategy)
namingStrategy
- the naming strategy.public AnonymousQueue(NamingStrategy namingStrategy, Map<String,Object> arguments)
namingStrategy
- the naming strategy.arguments
- the arguments.