Enum Class GrouperMessageAcknowledgeType
java.lang.Object
java.lang.Enum<GrouperMessageAcknowledgeType>
edu.internet2.middleware.grouperClient.messaging.GrouperMessageAcknowledgeType
- All Implemented Interfaces:
Serializable
,Comparable<GrouperMessageAcknowledgeType>
,java.lang.constant.Constable
this is what you can do when acknowledging a message
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionmark as processed, do not get this message againreturn to end of queue, once other messages are retrieved, this one will be delievered againreturn to the queue, will be in next retrieve of messagessend to a dead letter queue or another error queue or topic or whatever -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.valueOfIgnoreCase
(String input, boolean exceptionIfNotFound) convert a string to an acknowledge typestatic GrouperMessageAcknowledgeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
return_to_queue
return to the queue, will be in next retrieve of messages -
mark_as_processed
mark as processed, do not get this message again -
return_to_end_of_queue
return to end of queue, once other messages are retrieved, this one will be delievered again -
send_to_another_queue
send to a dead letter queue or another error queue or topic or whatever
-
-
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
-
valueOfIgnoreCase
public static GrouperMessageAcknowledgeType valueOfIgnoreCase(String input, boolean exceptionIfNotFound) convert a string to an acknowledge type- Parameters:
input
-exceptionIfNotFound
-- Returns:
- the state or null
-