Class QueueConfig
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.QueueConfig
-
@Deprecated public final class QueueConfig extends Object
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueueConfig.BuilderDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SimpleStringaddress()Deprecated.static QueueConfig.BuilderbuilderWith(long id, SimpleString name)Deprecated.Returns a newQueueConfig.Builderof a durable, not temporary and autoCreatedQueueConfigwith the givenidandname.static QueueConfig.BuilderbuilderWith(long id, SimpleString name, SimpleString address)Deprecated.Returns a newQueueConfig.Builderof a durable, not temporary and autoCreatedQueueConfigwith the givenid,nameandaddress.intconsumersBeforeDispatch()Deprecated.longdelayBeforeDispatch()Deprecated.RoutingTypedeliveryMode()Deprecated.booleanequals(Object o)Deprecated.Filterfilter()Deprecated.static QueueConfigfromQueueConfiguration(QueueConfiguration queueConfiguration)Deprecated.longgetAutoDeleteDelay()Deprecated.longgetAutoDeleteMessageCount()Deprecated.intgetGroupBuckets()Deprecated.SimpleStringgetGroupFirstKey()Deprecated.PagingStoregetPagingStore()Deprecated.longgetRingSize()Deprecated.inthashCode()Deprecated.longid()Deprecated.booleanisAutoCreated()Deprecated.booleanisAutoDelete()Deprecated.booleanisConfigurationManaged()Deprecated.booleanisDurable()Deprecated.booleanisExclusive()Deprecated.booleanisGroupRebalance()Deprecated.booleanisLastValue()Deprecated.booleanisNonDestructive()Deprecated.booleanisPurgeOnNoConsumers()Deprecated.booleanisTemporary()Deprecated.SimpleStringlastValueKey()Deprecated.intmaxConsumers()Deprecated.SimpleStringname()Deprecated.PageSubscriptionpageSubscription()Deprecated.StringtoString()Deprecated.SimpleStringuser()Deprecated.
-
-
-
Method Detail
-
builderWith
public static QueueConfig.Builder builderWith(long id, SimpleString name)
Deprecated.Returns a newQueueConfig.Builderof a durable, not temporary and autoCreatedQueueConfigwith the givenidandname.
Theaddressis defaulted to thenamevalue. The reference parameters aren't defensively copied.- Parameters:
id- the id of the queue to be createdname- the name of the queue to be created- Throws:
IllegalStateException- ifnameisnullor empty
-
builderWith
public static QueueConfig.Builder builderWith(long id, SimpleString name, SimpleString address)
Deprecated.Returns a newQueueConfig.Builderof a durable, not temporary and autoCreatedQueueConfigwith the givenid,nameandaddress.
The reference parameters aren't defensively copied.- Parameters:
id- the id of the queue to be createdname- the name of the queue to be createdaddress- the address of the queue to be created- Throws:
IllegalStateException- ifnameoraddressarenullor empty
-
fromQueueConfiguration
public static QueueConfig fromQueueConfiguration(QueueConfiguration queueConfiguration) throws ActiveMQException
Deprecated.- Throws:
ActiveMQException
-
id
public long id()
Deprecated.
-
address
public SimpleString address()
Deprecated.
-
name
public SimpleString name()
Deprecated.
-
filter
public Filter filter()
Deprecated.
-
pageSubscription
public PageSubscription pageSubscription()
Deprecated.
-
user
public SimpleString user()
Deprecated.
-
isDurable
public boolean isDurable()
Deprecated.
-
isTemporary
public boolean isTemporary()
Deprecated.
-
isAutoCreated
public boolean isAutoCreated()
Deprecated.
-
isPurgeOnNoConsumers
public boolean isPurgeOnNoConsumers()
Deprecated.
-
maxConsumers
public int maxConsumers()
Deprecated.
-
isExclusive
public boolean isExclusive()
Deprecated.
-
isLastValue
public boolean isLastValue()
Deprecated.
-
lastValueKey
public SimpleString lastValueKey()
Deprecated.
-
isNonDestructive
public boolean isNonDestructive()
Deprecated.
-
deliveryMode
public RoutingType deliveryMode()
Deprecated.
-
consumersBeforeDispatch
public int consumersBeforeDispatch()
Deprecated.
-
delayBeforeDispatch
public long delayBeforeDispatch()
Deprecated.
-
isGroupRebalance
public boolean isGroupRebalance()
Deprecated.
-
getGroupBuckets
public int getGroupBuckets()
Deprecated.
-
getGroupFirstKey
public SimpleString getGroupFirstKey()
Deprecated.
-
isConfigurationManaged
public boolean isConfigurationManaged()
Deprecated.
-
isAutoDelete
public boolean isAutoDelete()
Deprecated.
-
getAutoDeleteDelay
public long getAutoDeleteDelay()
Deprecated.
-
getAutoDeleteMessageCount
public long getAutoDeleteMessageCount()
Deprecated.
-
getRingSize
public long getRingSize()
Deprecated.
-
getPagingStore
public PagingStore getPagingStore()
Deprecated.
-
-