Package io.mats3.impl.jms
Enum Class JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator
java.lang.Object
java.lang.Enum<JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator>
io.mats3.impl.jms.JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator
- All Implemented Interfaces:
Serializable
,Comparable<JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator>
,Constable
- Enclosing class:
- JmsMatsJmsSessionHandler_Pooling
public static enum JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator
extends Enum<JmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator>
What kind of sharing of JMS Connections to employ for a
JmsMatsInitiator
.-
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 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
-
FACTORY
All initiators share a common JMS Connection. IfJmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor
is also set toFACTORY
, there will only be a single JMS Connection for the entire MatsFactory. -
INITIATOR
Each initiator gets its own JSM Connection. Notice that due to the prevalent use ofMatsFactory.getDefaultInitiator()
, this is often close toFACTORY
- but the utilityMatsFuturizer
creates its own initiator per instance.
-
-
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
-