com.ibm.mq.jms

Class MQTemporaryQueue

  • java.lang.Object
    • com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
    • Method Detail

      • delete

        public void delete()
                    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

        public void setObjectProperty(java.lang.String name,
                             java.lang.Object value)
                               throws javax.jms.JMSException
        Sets an Object property value with the given name.
        Specified by:
        setObjectProperty in interface JmsPropertyContext
        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

        public java.lang.Object getObjectProperty(java.lang.String name)
                                           throws javax.jms.JMSException
        Gets the Object property value with the given name.
        Specified by:
        getObjectProperty in interface JmsReadablePropertyContext
        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

        public void setBatchProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
                                throws javax.jms.JMSException
        Sets multiple property values passed in via a Map.
        Specified by:
        setBatchProperties in interface JmsPropertyContext
        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

        public java.util.Enumeration<java.lang.String> getPropertyNames()
                                                                 throws javax.jms.JMSException
        Gets all properties which have been set on a resource.
        Specified by:
        getPropertyNames in interface JmsReadablePropertyContext
        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

        public boolean propertyExists(java.lang.String name)
                               throws javax.jms.JMSException
        Indicates whether a named property exists.
        Specified by:
        propertyExists in interface JmsReadablePropertyContext
        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

        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

        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
        See Also:
        JmsDestinationImpl.hashCode()
      • toString

        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
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.