com.ibm.mq.jms

Class MQTemporaryQueue

  1. java.lang.Object
  2. extended bycom.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
  3. extended bycom.ibm.msg.client.jms.internal.JmsPropertyContextImpl
  4. extended bycom.ibm.msg.client.jms.admin.JmsDestinationImpl
  5. extended bycom.ibm.msg.client.jms.admin.JmsJndiDestinationImpl
  6. extended bycom.ibm.mq.jms.MQDestination
  7. extended bycom.ibm.mq.jms.MQQueue
  8. extended bycom.ibm.mq.jms.MQTemporaryQueue
All implemented interfaces:
JmsDestination, JmsPropertyContext, JmsQueue, JmsReadablePropertyContext, JmsTemporaryQueue, com.ibm.msg.client.provider.ProviderPropertyContextCallback, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.Destination, javax.jms.Queue, javax.jms.TemporaryQueue, javax.naming.Referenceable

  1. public class MQTemporaryQueue
  2. extends MQQueue
  3. implements javax.jms.TemporaryQueue, JmsTemporaryQueue
An MQTemporaryQueue object is a unique Queue object created for the duration of a connection.
See Also:
Serialized Form

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>

Field Summary

Fields inherited from interface com.ibm.msg.client.jms.JmsDestination
DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC

Method Summary

Modifier and Type Method and Description
  1. void
delete()
Deletes this temporary queue.
  1. boolean
equals(java.lang.Object obj)
Test for equality.
  1. java.lang.Object
getObjectProperty(java.lang.String name)
Gets the Object property value with the given name.
  1. java.util.Enumeration<?>
getPropertyNames()
Gets all properties which have been set on a resource.
  1. int
hashCode()
  1. boolean
propertyExists(java.lang.String name)
Indicates whether a named property exists.
  1. void
setBatchProperties(java.util.Map properties)
Sets multiple property values passed in via a Map.
  1. void
setObjectProperty(java.lang.String name,java.lang.Object value)
Sets an Object property value with the given name.
  1. java.lang.String
toString()
Returns a string representation of this object
Methods inherited from class com.ibm.mq.jms.MQQueue
getQueueName
Methods inherited from class com.ibm.mq.jms.MQDestination
getCCSID, getDescription, getEncoding, getExpiry, getFailIfQuiesce, getMessageBodyStyle, getMQMDMessageContext, getMQMDReadEnabled, getMQMDWriteEnabled, getPersistence, getPriority, getProperty, getPutAsyncAllowed, getReadAheadAllowed, getReadAheadClosePolicy, getReceiveCCSID, getReceiveConversion, getReference, getReplyToStyle, getStringFromDestination, getTargetClient, getWildcardFormat, setCCSID, setDescription, setEncoding, setExpiry, setFailIfQuiesce, setMessageBodyStyle, setMQMDMessageContext, setMQMDReadEnabled, setMQMDWriteEnabled, setPersistence, setPriority, setProperty, setPutAsyncAllowed, setReadAheadAllowed, setReadAheadClosePolicy, setReceiveCCSID, setReceiveConversion, setReplyToStyle, setTargetClient, setWildcardFormat
Methods inherited from class com.ibm.msg.client.jms.admin.JmsDestinationImpl
getTopicName
Methods inherited from class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setProviderPropertyContext, setShortProperty, setStringProperty, size, values
Methods inherited from class com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, getStringProperty
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext
setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setShortProperty, setStringProperty
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, getStringProperty
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from interface javax.jms.Queue
getQueueName
Methods inherited from interface javax.naming.Referenceable
getReference

Method Detail

delete

  1. public void delete()
  2. throws javax.jms.JMSException
Deletes this temporary queue.
Specified by:
delete in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException - if the queue is in use, or if the command fails due to some internal error

setObjectProperty

  1. public void setObjectProperty(java.lang.String name,
  2. java.lang.Object value)
  3. throws javax.jms.JMSException
Sets an Object property value with the given name.
Specified by:
Overrides:
setObjectProperty in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name - the name of the Object property
value - the Object property value to set
Throws:
javax.jms.JMSException - if the property is marked read-only or if the proposed value is invalid for the property

getObjectProperty

  1. public java.lang.Object getObjectProperty( java.lang.String name)
  2. throws javax.jms.JMSException
Gets the Object property value with the given name.
Specified by:
Overrides:
getObjectProperty in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name - the name of the property to be retrieved
Returns:
the Object property value with the given name
Throws:
javax.jms.JMSException - if the operation fails

setBatchProperties

  1. public void setBatchProperties( java.util.Map properties)
  2. throws javax.jms.JMSException
Sets multiple property values passed in via a Map.
Specified by:
Overrides:
setBatchProperties in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
properties - the Map of properties to set
Throws:
javax.jms.JMSException - if any property is marked read-only or if the proposed value is invalid for any property

getPropertyNames

  1. public java.util.Enumeration<?> getPropertyNames( )
  2. throws javax.jms.JMSException
Gets all properties which have been set on a resource.
Specified by:
Overrides:
getPropertyNames in class com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
Returns:
the Enumeration of all set properties
Throws:
javax.jms.JMSException - if the operation fails

propertyExists

  1. public boolean propertyExists(java.lang.String name)
  2. throws javax.jms.JMSException
Indicates whether a named property exists.
Specified by:
Overrides:
propertyExists in class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
Parameters:
name - the name of the property to be retrieved
Returns:
true if the property exists, false if it does not.
Throws:
javax.jms.JMSException - if the operation fails

equals

  1. public boolean equals(java.lang.Object obj)
Test for equality.
Specified by:
equals in interface java.util.Map<java.lang.String,java.lang.Object>
Overrides:
equals in class com.ibm.msg.client.jms.admin.JmsDestinationImpl
Parameters:
obj - the object to be compared with this object
Returns:
a boolean indicating whether obj is equal to this object or not

hashCode

  1. public int hashCode()
Specified by:
hashCode in interface java.util.Map<java.lang.String,java.lang.Object>
Overrides:
hashCode in class com.ibm.msg.client.jms.admin.JmsDestinationImpl

toString

  1. public java.lang.String toString( )
Returns a string representation of this object
Specified by:
toString in interface javax.jms.Queue
Overrides:
toString in class MQQueue
Returns:
the string representation of this object