public final class QueueConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueueConfig.Builder |
Modifier and Type | Method and Description |
---|---|
SimpleString |
address() |
static QueueConfig.Builder |
builderWith(long id,
SimpleString name)
Returns a new
QueueConfig.Builder of a durable, not temporary and autoCreated QueueConfig with the given id and name . |
static QueueConfig.Builder |
builderWith(long id,
SimpleString name,
SimpleString address)
Returns a new
QueueConfig.Builder of a durable, not temporary and autoCreated QueueConfig with the given id , name and address . |
RoutingType |
deliveryMode() |
boolean |
equals(Object o) |
Filter |
filter() |
int |
hashCode() |
long |
id() |
boolean |
isAutoCreated() |
boolean |
isDurable() |
boolean |
isExclusive() |
boolean |
isLastValue() |
boolean |
isPurgeOnNoConsumers() |
boolean |
isTemporary() |
int |
maxConsumers() |
SimpleString |
name() |
PageSubscription |
pageSubscription() |
String |
toString() |
SimpleString |
user() |
public static QueueConfig.Builder builderWith(long id, SimpleString name)
QueueConfig.Builder
of a durable, not temporary and autoCreated QueueConfig
with the given id
and name
.
address
is defaulted to the name
value.
The reference parameters aren't defensively copied.id
- the id of the queue to be createdname
- the name of the queue to be createdIllegalStateException
- if name
is null
or emptypublic static QueueConfig.Builder builderWith(long id, SimpleString name, SimpleString address)
QueueConfig.Builder
of a durable, not temporary and autoCreated QueueConfig
with the given id
, name
and address
.
id
- the id of the queue to be createdname
- the name of the queue to be createdaddress
- the address of the queue to be createdIllegalStateException
- if name
or address
are null
or emptypublic long id()
public SimpleString address()
public SimpleString name()
public Filter filter()
public PageSubscription pageSubscription()
public SimpleString user()
public boolean isDurable()
public boolean isTemporary()
public boolean isAutoCreated()
public boolean isPurgeOnNoConsumers()
public int maxConsumers()
public boolean isExclusive()
public boolean isLastValue()
public RoutingType deliveryMode()
Copyright © 2018 JBoss by Red Hat. All rights reserved.