public class AddressQueryImpl extends Object implements ClientSession.AddressQuery
Constructor and Description |
---|
AddressQueryImpl(boolean exists,
List<SimpleString> queueNames,
boolean autoCreateJmsQueues,
boolean autoCreateJmsTopics) |
Modifier and Type | Method and Description |
---|---|
List<SimpleString> |
getQueueNames()
Returns the names of the queues bound to the binding.
|
boolean |
isAutoCreateJmsQueues()
Returns
true if auto-creation for this address is enabled and if the address queried is for a JMS
queue, false else. |
boolean |
isAutoCreateJmsTopics()
Returns
true if auto-creation for this address is enabled and if the address queried is for a JMS
topic, false else. |
boolean |
isExists()
Returns
true if the binding exists, false else. |
public AddressQueryImpl(boolean exists, List<SimpleString> queueNames, boolean autoCreateJmsQueues, boolean autoCreateJmsTopics)
public List<SimpleString> getQueueNames()
ClientSession.AddressQuery
getQueueNames
in interface ClientSession.AddressQuery
public boolean isExists()
ClientSession.AddressQuery
true
if the binding exists, false
else.isExists
in interface ClientSession.AddressQuery
public boolean isAutoCreateJmsQueues()
ClientSession.AddressQuery
true
if auto-creation for this address is enabled and if the address queried is for a JMS
queue, false
else.isAutoCreateJmsQueues
in interface ClientSession.AddressQuery
public boolean isAutoCreateJmsTopics()
ClientSession.AddressQuery
true
if auto-creation for this address is enabled and if the address queried is for a JMS
topic, false
else.isAutoCreateJmsTopics
in interface ClientSession.AddressQuery
Copyright © 2017 JBoss by Red Hat. All rights reserved.