public class JMSQueue<T extends JMSQueue<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 dead messages to. 
 | 
T | 
deadLetterAddress(String value)
The address to send 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()
Whether the queue is durable or not. 
 | 
T | 
durable(Boolean value)
Whether the queue is durable or not. 
 | 
List<String> | 
entries()
The jndi names the queue will be bound to. 
 | 
T | 
entries(List<String> value)
The jndi names the queue will be bound to. 
 | 
T | 
entries(String... args)
The jndi names the queue will be bound to. 
 | 
T | 
entry(String value)
The jndi names the queue will be bound to. 
 | 
String | 
expiryAddress()
The address to send expired messages to. 
 | 
T | 
expiryAddress(String value)
The address to send expired messages to. 
 | 
String | 
getKey()  | 
List<String> | 
legacyEntries()
The jndi names the queue will be bound to. 
 | 
T | 
legacyEntries(List<String> value)
The jndi names the queue will be bound to. 
 | 
T | 
legacyEntries(String... args)
The jndi names the queue will be bound to. 
 | 
T | 
legacyEntry(String value)
The jndi names the queue will be bound to. 
 | 
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 
 | 
Long | 
scheduledCount()
The number of scheduled messages in this queue. 
 | 
T | 
scheduledCount(Long value)
The number of scheduled messages in this queue. 
 | 
String | 
selector()
The queue selector. 
 | 
T | 
selector(String value)
The queue selector. 
 | 
Boolean | 
temporary()
Whether the queue is temporary. 
 | 
T | 
temporary(Boolean value)
Whether the queue is temporary. 
 | 
public JMSQueue(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 Integer deliveringCount()
public T deliveringCount(Integer value)
public Boolean durable()
public String expiryAddress()
public Long messageCount()
public Long messagesAdded()
public T messagesAdded(Long value)
public Boolean paused()
public String queueAddress()
public T queueAddress(String value)
public Long scheduledCount()
public String selector()
public Boolean temporary()
Copyright © 2018 JBoss by Red Hat. All rights reserved.