Class DeliveryState

    • Field Detail

      • ACCEPTED

        public static final DeliveryState ACCEPTED
        Indicates successful processing at the receiver.
      • REJECTED

        public static final DeliveryState REJECTED
        Indicates an invalid and unprocessable message.
      • RELEASED

        public static final DeliveryState RELEASED
        Indicates that the message was not (and will not be) processed.
      • MODIFIED

        public static final DeliveryState MODIFIED
        indicates that the message was modified, but not processed.
      • RECEIVED

        public static final DeliveryState RECEIVED
        indicates partial message data seen by the receiver as well as the starting point for a resumed transfer.
      • TRANSACTIONAL

        public static final DeliveryState TRANSACTIONAL
        Indicates that this delivery is part of a transaction.
    • Constructor Detail

      • DeliveryState

        public DeliveryState()
    • Method Detail

      • fromString

        public static DeliveryState fromString​(String name)
        Gets the corresponding delivery state from its string representation.
        Parameters:
        name - The delivery state to convert.
        Returns:
        The corresponding delivery state.
      • values

        public static Collection<DeliveryState> values()
        Gets all the current delivery states.
        Returns:
        Gets the current delivery states.