public class QueueSpecification
extends java.lang.Object
If a queue specification has a null name, the queue to be created
will have a server-generated name and will be non-durable, exclusive, and
auto-delete. To have more control over the properties of a queue with
a server-generated name, specify a non-null, empty string name, "".
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
arguments |
protected boolean |
autoDelete |
protected boolean |
durable |
protected boolean |
exclusive |
protected java.lang.String |
name |
| Constructor and Description |
|---|
QueueSpecification() |
| Modifier and Type | Method and Description |
|---|---|
QueueSpecification |
arguments(java.util.Map<java.lang.String,java.lang.Object> arguments) |
QueueSpecification |
autoDelete(boolean autoDelete) |
QueueSpecification |
durable(boolean durable) |
QueueSpecification |
exclusive(boolean exclusive) |
java.util.Map<java.lang.String,java.lang.Object> |
getArguments() |
java.lang.String |
getName() |
boolean |
isAutoDelete() |
boolean |
isDurable() |
boolean |
isExclusive() |
QueueSpecification |
name(java.lang.String queue) |
static QueueSpecification |
queue() |
static QueueSpecification |
queue(java.lang.String name) |
protected java.lang.String name
protected boolean durable
protected boolean exclusive
protected boolean autoDelete
protected java.util.Map<java.lang.String,java.lang.Object> arguments
public static QueueSpecification queue()
public static QueueSpecification queue(java.lang.String name)
public QueueSpecification name(java.lang.String queue)
public QueueSpecification durable(boolean durable)
public QueueSpecification exclusive(boolean exclusive)
public QueueSpecification autoDelete(boolean autoDelete)
public QueueSpecification arguments(java.util.Map<java.lang.String,java.lang.Object> arguments)
public java.lang.String getName()
public boolean isDurable()
public boolean isExclusive()
public boolean isAutoDelete()
public java.util.Map<java.lang.String,java.lang.Object> getArguments()