Package org.mule.jms.commons.api.config
Enum Class ConsumerAckMode
- All Implemented Interfaces:
Serializable,Comparable<ConsumerAckMode>,Constable,JmsAckMode
Declares the kind of Acknowledgement mode supported for consumer operations.
- MANUAL: This is JMS
Session.CLIENT_ACKNOWLEDGEmode. The user must do the ack manually within the flow. - DUPS_OK: JMS message is acked automatically but in a lazy fashion which may lead to duplicates.
- IMMEDIATE: Mule automatically ACKs the message upon reception.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsumerAckModeReturns the enum constant of this class with the specified name.static ConsumerAckMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
Mule automatically ACKs the message upon reception -
MANUAL
This is JMSSession.CLIENT_ACKNOWLEDGEmode. The user must do the ACK manually within the flow
-
-
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
-
getInternalAckMode
- Specified by:
getInternalAckModein interfaceJmsAckMode- Returns:
- The
InternalAckModeof the current enum value.
-