Class JmsAcknowledgeCallback


  • public final class JmsAcknowledgeCallback
    extends java.lang.Object
    • Method Detail

      • acknowledge

        public void acknowledge()
                         throws javax.jms.JMSException
        Throws:
        javax.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.