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. |
boolean |
equals(Object o) |
Filter |
filter() |
int |
hashCode() |
long |
id() |
boolean |
isAutoCreated() |
boolean |
isDurable() |
boolean |
isTemporary() |
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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.