Class AddressQueryImpl
java.lang.Object
org.apache.activemq.artemis.core.client.impl.AddressQueryImpl
- All Implemented Interfaces:
ClientSession.AddressQuery
-
Constructor Summary
ConstructorsConstructorDescriptionAddressQueryImpl(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, boolean supportsMulticast, boolean supportsAnycast) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the names of the queues bound to the binding.booleanReturnstrueif auto-address-creation for this address is enabled,falseelse.booleanReturnstrueif auto-queue-creation for this address is enabled,falseelse.booleanbooleanisExists()Returnstrueif the binding exists,falseelse.booleanboolean
-
Constructor Details
-
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, boolean supportsMulticast, boolean supportsAnycast)
-
-
Method Details
-
getQueueNames
Description copied from interface:ClientSession.AddressQueryReturns the names of the queues bound to the binding.- Specified by:
getQueueNamesin interfaceClientSession.AddressQuery- Returns:
- the names of the queues bound to the binding
-
isExists
public boolean isExists()Description copied from interface:ClientSession.AddressQueryReturnstrueif the binding exists,falseelse.- Specified by:
isExistsin interfaceClientSession.AddressQuery- Returns:
trueif the binding exists,falseelse
-
isAutoCreateQueues
public boolean isAutoCreateQueues()Description copied from interface:ClientSession.AddressQueryReturnstrueif auto-queue-creation for this address is enabled,falseelse.- Specified by:
isAutoCreateQueuesin interfaceClientSession.AddressQuery- Returns:
trueif auto-queue-creation for this address is enabled,falseelse
-
isAutoCreateAddresses
public boolean isAutoCreateAddresses()Description copied from interface:ClientSession.AddressQueryReturnstrueif auto-address-creation for this address is enabled,falseelse.- Specified by:
isAutoCreateAddressesin interfaceClientSession.AddressQuery- Returns:
trueif auto-address-creation for this address is enabled,falseelse
-
isDefaultPurgeOnNoConsumers
public boolean isDefaultPurgeOnNoConsumers()- Specified by:
isDefaultPurgeOnNoConsumersin interfaceClientSession.AddressQuery
-
getDefaultMaxConsumers
public int getDefaultMaxConsumers()- Specified by:
getDefaultMaxConsumersin interfaceClientSession.AddressQuery
-
isDefaultLastValueQueue
- Specified by:
isDefaultLastValueQueuein interfaceClientSession.AddressQuery
-
isDefaultExclusive
- Specified by:
isDefaultExclusivein interfaceClientSession.AddressQuery
-
getDefaultLastValueKey
- Specified by:
getDefaultLastValueKeyin interfaceClientSession.AddressQuery
-
isDefaultNonDestructive
- Specified by:
isDefaultNonDestructivein interfaceClientSession.AddressQuery
-
getDefaultConsumersBeforeDispatch
- Specified by:
getDefaultConsumersBeforeDispatchin interfaceClientSession.AddressQuery
-
getDefaultDelayBeforeDispatch
- Specified by:
getDefaultDelayBeforeDispatchin interfaceClientSession.AddressQuery
-
isSupportsMulticast
public boolean isSupportsMulticast()- Specified by:
isSupportsMulticastin interfaceClientSession.AddressQuery
-
isSupportsAnycast
public boolean isSupportsAnycast()- Specified by:
isSupportsAnycastin interfaceClientSession.AddressQuery
-