Enum Class JMSFacade.AcknowledgeMode

java.lang.Object
java.lang.Enum<JMSFacade.AcknowledgeMode>
org.frankframework.jms.JMSFacade.AcknowledgeMode
All Implemented Interfaces:
Serializable, Comparable<JMSFacade.AcknowledgeMode>, Constable, DocumentedEnum
Enclosing class:
JMSFacade

public static enum JMSFacade.AcknowledgeMode extends Enum<JMSFacade.AcknowledgeMode> implements DocumentedEnum
  • Enum Constant Details

    • NOT_SET

      public static final JMSFacade.AcknowledgeMode NOT_SET
    • AUTO_ACKNOWLEDGE

      public static final JMSFacade.AcknowledgeMode AUTO_ACKNOWLEDGE
      auto or auto_acknowledge: Specifies that the session is to automatically acknowledge consumer receipt of messages when message processing is complete.
    • CLIENT_ACKNOWLEDGE

      public static final JMSFacade.AcknowledgeMode CLIENT_ACKNOWLEDGE
      client or client_acknowledge: Specifies that the consumer is to acknowledge all messages delivered in this session. The Frank application will acknowledge all messages processed correctly. The skipping of the acknowledgement of messages processed in error will cause them to be redelivered, thus providing an automatic retry.
    • DUPS_OK_ACKNOWLEDGE

      public static final JMSFacade.AcknowledgeMode DUPS_OK_ACKNOWLEDGE
      dups or dups_ok_acknowledge: Specifies that the session is to "lazily" acknowledge the delivery of messages to the consumer. "Lazy" means that the consumer can delay the acknowledgment of messages to the server until a convenient time; meanwhile the server might redeliver messages. This mode reduces the session overhead. If JMS fails, the consumer may receive duplicate messages.
  • Method Details

    • values

      public static JMSFacade.AcknowledgeMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JMSFacade.AcknowledgeMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAcknowledgeMode

      public int getAcknowledgeMode()