Class BasicQueue
java.lang.Object
com.sun.messaging.AdministeredObject
com.sun.messaging.Destination
com.sun.messaging.BasicQueue
- All Implemented Interfaces:
jakarta.jms.Destination, jakarta.jms.Queue, Serializable
- Direct Known Subclasses:
Queue
A
BasicQueue represents an identity of a repository of messages used in the JMS Point-To-Point messaging
domain.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an identity of a Point-To-Point Queue with the default nameBasicQueue(String name) Constructs an identity of a Point-To-Point Queue with the given name -
Method Summary
Methods inherited from class Destination
getName, getQueueName, getTopicName, setDefaultConfiguration, toString, validate_imqDestinationNameMethods inherited from class AdministeredObject
dump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperties, setProperty, setReadOnly, setStoredVersionMethods inherited from interface jakarta.jms.Queue
getQueueName, toString
-
Constructor Details
-
BasicQueue
public BasicQueue()Constructs an identity of a Point-To-Point Queue with the default name -
BasicQueue
Constructs an identity of a Point-To-Point Queue with the given name- Parameters:
name- The name of the Queue- Throws:
jakarta.jms.JMSException
-
-
Method Details
-
equals
Compares this Queue to the specified object. The result istrueif and only if the arguement is notnulland is aQueueobject with the same Queue Name as this object. -
hashCode
-
isQueue
public boolean isQueue()Returns whether this is a Queueing type of Destination object- Specified by:
isQueuein classDestination- Returns:
- whether this is a Queueing type of Destination object
-
isTemporary
public boolean isTemporary()Returns whether this is a Temporary type of Destination object- Specified by:
isTemporaryin classDestination- Returns:
- whether this is a Temporary type of Destination object
-