@Deprecated public class CoreQueueConfiguration extends Object implements Serializable
Constructor and Description |
---|
CoreQueueConfiguration()
Deprecated.
|
public String getAddress()
public String getName()
public String getFilterString()
public boolean isDurable()
public String getUser()
public Boolean isExclusive()
public Boolean isGroupRebalance()
public Integer getGroupBuckets()
public String getGroupFirstKey()
public Boolean isLastValue()
public String getLastValueKey()
public Boolean isNonDestructive()
public Integer getConsumersBeforeDispatch()
public Long getDelayBeforeDispatch()
public Long getRingSize()
public Boolean isEnabled()
public QueueConfiguration toQueueConfiguration()
public static CoreQueueConfiguration fromQueueConfiguration(QueueConfiguration queueConfiguration)
public CoreQueueConfiguration setAddress(String address)
address
- the address to setpublic CoreQueueConfiguration setName(String name)
name
- the name to setpublic CoreQueueConfiguration setFilterString(String filterString)
filterString
- the filterString to setpublic CoreQueueConfiguration setDurable(boolean durable)
durable
- the durable to set; default value is truepublic CoreQueueConfiguration setMaxConsumers(Integer maxConsumers)
maxConsumers
- for this queue, default is -1 (unlimited)public CoreQueueConfiguration setConsumersBeforeDispatch(Integer consumersBeforeDispatch)
consumersBeforeDispatch
- for this queue, default is 0 (dispatch as soon as 1 consumer)public CoreQueueConfiguration setDelayBeforeDispatch(Long delayBeforeDispatch)
delayBeforeDispatch
- for this queue, default is 0 (start dispatch with no delay)public CoreQueueConfiguration setRingSize(Long ringSize)
ringSize
- for this queue, default is -1public CoreQueueConfiguration setEnabled(Boolean enabled)
enabled
- for this queue, default is truepublic CoreQueueConfiguration setPurgeOnNoConsumers(Boolean purgeOnNoConsumers)
purgeOnNoConsumers
- delete this queue when consumer count reaches 0, default is falsepublic CoreQueueConfiguration setUser(String user)
user
- the use you want to associate with creating the queuepublic CoreQueueConfiguration setExclusive(Boolean exclusive)
public CoreQueueConfiguration setGroupRebalance(Boolean groupRebalance)
public CoreQueueConfiguration setGroupBuckets(Integer groupBuckets)
public CoreQueueConfiguration setGroupFirstKey(String groupFirstKey)
public CoreQueueConfiguration setLastValue(Boolean lastValue)
public CoreQueueConfiguration setLastValueKey(String lastValueKey)
public CoreQueueConfiguration setNonDestructive(Boolean nonDestructive)
public boolean getPurgeOnNoConsumers()
public Integer getMaxConsumers()
public RoutingType getRoutingType()
public CoreQueueConfiguration setRoutingType(RoutingType routingType)
Copyright © 2021 JBoss by Red Hat. All rights reserved.