public class AnonymousQueue extends Queue
NamingStrategy
. Two naming strategies Base64UrlNamingStrategy
and
UUIDNamingStrategy
are provided but you can implement your own. Names should be
unique.X_QUEUE_LEADER_LOCATOR, X_QUEUE_MASTER_LOCATOR
Constructor and Description |
---|
AnonymousQueue()
Construct 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.
|
clone, getActualName, getName, isAutoDelete, isDurable, isExclusive, setActualName, setLeaderLocator, setMasterLocator, toString
addArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
public AnonymousQueue()
public AnonymousQueue(Map<String,Object> arguments)
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.