Package org.frankframework.jms
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionauto or auto_acknowledge: Specifies that the session is to automatically acknowledge consumer receipt of messages when message processing is complete.client or client_acknowledge: Specifies that the consumer is to acknowledge all messages delivered in this session.dups or dups_ok_acknowledge: Specifies that the session is to "lazily" acknowledge the delivery of messages to the consumer. -
Method Summary
Modifier and TypeMethodDescriptionint
static JMSFacade.AcknowledgeMode
Returns the enum constant of this class with the specified name.static JMSFacade.AcknowledgeMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.frankframework.doc.DocumentedEnum
getLabel, name
-
Enum Constant Details
-
NOT_SET
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-
getAcknowledgeMode
public int getAcknowledgeMode()
-