Interface WmTemporaryDestination

    • Field Detail

      • TEMP_TOPIC_EVENT_TYPE

        static final java.lang.String TEMP_TOPIC_EVENT_TYPE
        The event type name used for temporary topics.
        See Also:
        Constant Field Values
      • TEMP_QUEUE_EVENT_TYPE

        static final java.lang.String TEMP_QUEUE_EVENT_TYPE
        The event type name used for temporary queues.
        See Also:
        Constant Field Values
    • Method Detail

      • setEventType

        void setEventType​(java.lang.String eventType)
                   throws javax.jms.JMSException
        Set the event type to be used by this temporary destination.
        Parameters:
        eventType - the event type to use for this temporary destination
        Throws:
        javax.jms.JMSException - if the JMS provider fails to set the event type for this destination due to some internal error.
      • delete

        void delete()
             throws javax.jms.JMSException
        Deletes this temporary destination. If there are existing consumers still using it, a JMSException will be thrown.
        Throws:
        javax.jms.JMSException - if the JMS provider fails to delete the temporary destination due to some internal error.
      • isDeleted

        boolean isDeleted()
        Get whether this temporary destination has been deleted.
        Returns:
        true if this temporary destination has been deleted.
      • incrementRefCount

        void incrementRefCount()
      • decrementRefCount

        void decrementRefCount()