Class JmsAcknowledgeCallback

java.lang.Object
org.apache.qpid.jms.JmsAcknowledgeCallback

public final class JmsAcknowledgeCallback extends Object
  • Constructor Details

  • Method Details

    • acknowledge

      public void acknowledge() throws jakarta.jms.JMSException
      Throws:
      jakarta.jms.JMSException
    • isAckTypeSet

      public boolean isAckTypeSet()
      Returns:
      true if the acknowledgement type was updated.
    • clearAckType

      public void clearAckType()
      Clears any previous setting and restores defaults.
    • getAckType

      public int getAckType()
      Returns:
      the ackType that has been configured or the default if none has been set.
    • setAckType

      public void setAckType(int ackType)
      Sets the acknowledgement type that will be used.
      Parameters:
      ackType - the ackType to apply to the session acknowledge.