Class JmsProducerInfo

java.lang.Object
org.apache.qpid.jms.meta.JmsAbstractResource
org.apache.qpid.jms.meta.JmsProducerInfo
All Implemented Interfaces:
Comparable<JmsProducerInfo>, JmsResource

public final class JmsProducerInfo extends JmsAbstractResource implements Comparable<JmsProducerInfo>
  • Constructor Details

  • Method Details

    • copy

      public JmsProducerInfo copy()
    • copy

      public void copy(JmsProducerInfo info)
    • 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.
    • getParentId

      public JmsSessionId getParentId()
    • getDestination

      public JmsDestination getDestination()
    • 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.
    • getMessageIDBuilder

      public JmsMessageIDBuilder getMessageIDBuilder()
    • toString

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

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(JmsProducerInfo other)
      Specified by:
      compareTo in interface Comparable<JmsProducerInfo>
    • visit

      public void visit(JmsResourceVistor vistor) 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:
      vistor - The visitor instance that is processing this resource.
      Throws:
      Exception - if an error occurs while visiting this resource.