Class AddressQueryImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.client.impl.AddressQueryImpl
-
- All Implemented Interfaces:
ClientSession.AddressQuery
public class AddressQueryImpl extends Object implements ClientSession.AddressQuery
-
-
Constructor Summary
Constructors Constructor Description AddressQueryImpl(boolean exists, List<SimpleString> queueNames, boolean autoCreateQueues, boolean autoCreateAddresses, boolean defaultPurgeOnNoConsumers, int defaultMaxConsumers, Boolean defaultExclusive, Boolean defaultLastValue, SimpleString defaultLastValueKey, Boolean defaultNonDestructive, Integer defaultConsumersBeforeDispatch, Long defaultDelayBeforeDispatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDefaultConsumersBeforeDispatch()LonggetDefaultDelayBeforeDispatch()SimpleStringgetDefaultLastValueKey()intgetDefaultMaxConsumers()List<SimpleString>getQueueNames()Returns the names of the queues bound to the binding.booleanisAutoCreateAddresses()Returnstrueif auto-address-creation for this address is enabled,falseelse.booleanisAutoCreateQueues()Returnstrueif auto-queue-creation for this address is enabled,falseelse.BooleanisDefaultExclusive()BooleanisDefaultLastValueQueue()BooleanisDefaultNonDestructive()booleanisDefaultPurgeOnNoConsumers()booleanisExists()Returnstrueif the binding exists,falseelse.
-
-
-
Constructor Detail
-
AddressQueryImpl
public AddressQueryImpl(boolean exists, List<SimpleString> queueNames, boolean autoCreateQueues, boolean autoCreateAddresses, boolean defaultPurgeOnNoConsumers, int defaultMaxConsumers, Boolean defaultExclusive, Boolean defaultLastValue, SimpleString defaultLastValueKey, Boolean defaultNonDestructive, Integer defaultConsumersBeforeDispatch, Long defaultDelayBeforeDispatch)
-
-
Method Detail
-
getQueueNames
public List<SimpleString> getQueueNames()
Description copied from interface:ClientSession.AddressQueryReturns the names of the queues bound to the binding.- Specified by:
getQueueNamesin interfaceClientSession.AddressQuery
-
isExists
public boolean isExists()
Description copied from interface:ClientSession.AddressQueryReturnstrueif the binding exists,falseelse.- Specified by:
isExistsin interfaceClientSession.AddressQuery
-
isAutoCreateQueues
public boolean isAutoCreateQueues()
Description copied from interface:ClientSession.AddressQueryReturnstrueif auto-queue-creation for this address is enabled,falseelse.- Specified by:
isAutoCreateQueuesin interfaceClientSession.AddressQuery
-
isAutoCreateAddresses
public boolean isAutoCreateAddresses()
Description copied from interface:ClientSession.AddressQueryReturnstrueif auto-address-creation for this address is enabled,falseelse.- Specified by:
isAutoCreateAddressesin interfaceClientSession.AddressQuery
-
isDefaultPurgeOnNoConsumers
public boolean isDefaultPurgeOnNoConsumers()
- Specified by:
isDefaultPurgeOnNoConsumersin interfaceClientSession.AddressQuery
-
getDefaultMaxConsumers
public int getDefaultMaxConsumers()
- Specified by:
getDefaultMaxConsumersin interfaceClientSession.AddressQuery
-
isDefaultLastValueQueue
public Boolean isDefaultLastValueQueue()
- Specified by:
isDefaultLastValueQueuein interfaceClientSession.AddressQuery
-
isDefaultExclusive
public Boolean isDefaultExclusive()
- Specified by:
isDefaultExclusivein interfaceClientSession.AddressQuery
-
getDefaultLastValueKey
public SimpleString getDefaultLastValueKey()
- Specified by:
getDefaultLastValueKeyin interfaceClientSession.AddressQuery
-
isDefaultNonDestructive
public Boolean isDefaultNonDestructive()
- Specified by:
isDefaultNonDestructivein interfaceClientSession.AddressQuery
-
getDefaultConsumersBeforeDispatch
public Integer getDefaultConsumersBeforeDispatch()
- Specified by:
getDefaultConsumersBeforeDispatchin interfaceClientSession.AddressQuery
-
getDefaultDelayBeforeDispatch
public Long getDefaultDelayBeforeDispatch()
- Specified by:
getDefaultDelayBeforeDispatchin interfaceClientSession.AddressQuery
-
-