Enum MessagingQosEffort

    • Enum Constant Detail

      • NORMAL

        public static final MessagingQosEffort NORMAL
        Normal effort means that the messaging system will guarantee delivery of the message, including temporarily persisting the message as necessary if the receiver is not currently online. Also known as 'at least once'.
      • BEST_EFFORT

        public static final MessagingQosEffort BEST_EFFORT
        Best effort means that the messaging system will ensure the message is sent out, but will not guarantee that it is received, also meaning the message is not persisted awaiting delivery if the receiver is not currently online. Also known as 'at most once' or 'fire and forget'.
    • Method Detail

      • values

        public static MessagingQosEffort[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MessagingQosEffort c : MessagingQosEffort.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MessagingQosEffort valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null