Class QueueConfig

java.lang.Object
org.apache.activemq.artemis.core.server.QueueConfig

@Deprecated public final class QueueConfig extends Object
Deprecated.
  • Method Details

    • builderWith

      public static QueueConfig.Builder builderWith(long id, SimpleString name)
      Deprecated.
      Returns a new QueueConfig.Builder of a durable, not temporary and autoCreated QueueConfig with the given id and name.

      The address is defaulted to the name value. The reference parameters aren't defensively copied.

      Parameters:
      id - the id of the queue to be created
      name - the name of the queue to be created
      Throws:
      IllegalStateException - if name is null or empty
    • builderWith

      public static QueueConfig.Builder builderWith(long id, SimpleString name, SimpleString address)
      Deprecated.
      Returns a new QueueConfig.Builder of a durable, not temporary and autoCreated QueueConfig with the given id, name and address.

      The reference parameters aren't defensively copied.

      Parameters:
      id - the id of the queue to be created
      name - the name of the queue to be created
      address - the address of the queue to be created
      Throws:
      IllegalStateException - if name or address are null or 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.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object