public class Queue<T extends Queue<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
consumerCount()
The number of consumers consuming messages from this queue.
|
T |
consumerCount(Integer value)
The number of consumers consuming messages from this queue.
|
String |
deadLetterAddress()
The address to send the queue's dead messages to.
|
T |
deadLetterAddress(String value)
The address to send the queue's dead messages to.
|
Integer |
deliveringCount()
The number of messages that this queue is currently delivering to its
consumers.
|
T |
deliveringCount(Integer value)
The number of messages that this queue is currently delivering to its
consumers.
|
Boolean |
durable()
Defines whether the queue is durable.
|
T |
durable(Boolean value)
Defines whether the queue is durable.
|
String |
expiryAddress()
The address to send the queue's expired messages to.
|
T |
expiryAddress(String value)
The address to send the queue's expired messages to.
|
String |
filter()
A queue message filter definition.
|
T |
filter(String value)
A queue message filter definition.
|
String |
getKey() |
Long |
id()
The id of the queue.
|
T |
id(Long value)
The id of the queue.
|
Long |
messageCount()
The number of messages currently in this queue.
|
T |
messageCount(Long value)
The number of messages currently in this queue.
|
Long |
messagesAdded()
The number of messages added to this queue since it was created.
|
T |
messagesAdded(Long value)
The number of messages added to this queue since it was created.
|
Boolean |
paused()
Whether the queue is paused.
|
T |
paused(Boolean value)
Whether the queue is paused.
|
String |
queueAddress()
The queue address defines what address is used for routing messages.
|
T |
queueAddress(String value)
The queue address defines what address is used for routing messages.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
RoutingType |
routingType()
Routing type of the queue.
|
T |
routingType(RoutingType value)
Routing type of the queue.
|
Long |
scheduledCount()
The number of scheduled messages in this queue.
|
T |
scheduledCount(Long value)
The number of scheduled messages in this queue.
|
Boolean |
temporary()
Whether the queue is temporary.
|
T |
temporary(Boolean value)
Whether the queue is temporary.
|
public Queue(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer consumerCount()
public T consumerCount(Integer value)
public String deadLetterAddress()
public T deadLetterAddress(String value)
public Integer deliveringCount()
public T deliveringCount(Integer value)
public Boolean durable()
public String expiryAddress()
public T expiryAddress(String value)
public String filter()
public T filter(String value)
public Long id()
public Long messageCount()
public Long messagesAdded()
public T messagesAdded(Long value)
public Boolean paused()
public String queueAddress()
public T queueAddress(String value)
public RoutingType routingType()
public T routingType(RoutingType value)
public Long scheduledCount()
public Boolean temporary()
Copyright © 2020 JBoss by Red Hat. All rights reserved.