Class JmsProducerInfo

    • Method Detail

      • getId

        public JmsProducerId 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.
      • setDestination

        public void setDestination​(JmsDestination destination)
      • isPresettle

        public boolean isPresettle()
        Returns:
        the presettle mode of this producer.
      • setPresettle

        public void setPresettle​(boolean presettle)
        Sets the presettle mode of the producer, when true the producer will be created as a presettled producer and all messages it sends will be settled before dispatch.
        Parameters:
        presettle - the presettle option to set on this producer.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • visit

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