public class CoreQueueConfiguration extends Object implements Serializable
Constructor and Description |
---|
CoreQueueConfiguration() |
public String getAddress()
public String getName()
public String getFilterString()
public boolean isDurable()
public String getUser()
public Boolean isExclusive()
public Boolean isLastValue()
public boolean isMaxConsumerConfigured()
public CoreQueueConfiguration setMaxConsumerConfigured(boolean maxConsumerConfigured)
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 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 setLastValue(Boolean lastValue)
public boolean getPurgeOnNoConsumers()
public int getMaxConsumers()
public RoutingType getRoutingType()
public CoreQueueConfiguration setRoutingType(RoutingType routingType)
Copyright © 2018 JBoss by Red Hat. All rights reserved.