public final class QueueConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueueConfig.Builder |
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 SimpleString lastValueKey()
public boolean isNonDestructive()
public RoutingType deliveryMode()
public int consumersBeforeDispatch()
public long delayBeforeDispatch()
public boolean isGroupRebalance()
public int getGroupBuckets()
public SimpleString getGroupFirstKey()
public boolean isConfigurationManaged()
public boolean isAutoDelete()
public long getAutoDeleteDelay()
public long getAutoDeleteMessageCount()
Copyright © 2019 JBoss by Red Hat. All rights reserved.