Enum Class ProducerBindingCapabilities.ProducerAckMode
java.lang.Object
java.lang.Enum<ProducerBindingCapabilities.ProducerAckMode>
com.solace.connector.core.io.provider.ProducerBindingCapabilities.ProducerAckMode
- All Implemented Interfaces:
Serializable,Comparable<ProducerBindingCapabilities.ProducerAckMode>,Constable
- Enclosing interface:
- ProducerBindingCapabilities
public static enum ProducerBindingCapabilities.ProducerAckMode
extends Enum<ProducerBindingCapabilities.ProducerAckMode>
Producer acknowledgment modes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProducer publishes messages asynchronously and receives acknowledgment via callback.Producer publishes messages synchronously and waits for acknowledgment. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYNC
Producer publishes messages synchronously and waits for acknowledgment. -
ASYNC_BY_CALLBACK_HEADER
Producer publishes messages asynchronously and receives acknowledgment via callback.
-
-
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
-