Class JmsTemporaryDestination

    • Constructor Detail

      • JmsTemporaryDestination

        public JmsTemporaryDestination()
      • JmsTemporaryDestination

        public JmsTemporaryDestination​(String name,
                                       boolean topic)
    • Method Detail

      • getId

        public JmsResourceId getId()
        Description copied from interface: JmsResource
        Returns the assigned resource ID for this JmsResource instance.
        Specified by:
        getId in interface JmsResource
        Returns:
        the assigned resource ID for this JmsResource instance.
      • setState

        public void setState​(JmsResource.ResourceState state)
        Description copied from interface: JmsResource
        Sets or updates the current state of this resource.
        Specified by:
        setState in interface JmsResource
        Parameters:
        state - The new state to apply to this resource.
      • tryDelete

        protected void tryDelete()
                          throws javax.jms.JMSException
        Attempts to delete the destination if there is an assigned Connection object.
        Throws:
        javax.jms.JMSException - if an error occurs or the provider doesn't support delete of destinations from the client.
      • isDeleted

        protected boolean isDeleted()
                             throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • visit

        public void visit​(JmsResourceVistor visitor)
                   throws Exception
        Description copied from interface: JmsResource
        Allows a visitor object to walk the resources and process them.
        Specified by:
        visit in interface JmsResource
        Parameters:
        visitor - The visitor instance that is processing this resource.
        Throws:
        Exception - if an error occurs while visiting this resource.