Package io.mats3.impl.jms
Enum Class JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor
java.lang.Object
java.lang.Enum<JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor>
io.mats3.impl.jms.JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor
- All Implemented Interfaces:
Serializable
,Comparable<JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor>
,Constable
- Enclosing class:
- JmsMatsJmsSessionHandler_Pooling
public static enum JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor
extends Enum<JmsMatsJmsSessionHandler_Pooling.PoolingKeyStageProcessor>
What kind of sharing of JMS Connections to employ for a
JmsMatsStageProcessor
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll StageProcessors in all Stages for each Endpoint share a common JMS Connection - i.e.All StageProcessors in all Stages in all Endpoints share a common JMS Connection - i.e.All StageProcessors in each Stage share a common JMS Connection - i.e.Each StageProcessor has its own JMS Connection - i.e. -
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 StageProcessors in all Stages in all Endpoints share a common JMS Connection - i.e. a single Connection for all consumers in theJmsMatsFactory
. IfJmsMatsJmsSessionHandler_Pooling.PoolingKeyInitiator
is also set toFACTORY
, there will only be a single JMS Connection for the entire MatsFactory. -
ENDPOINT
All StageProcessors in all Stages for each Endpoint share a common JMS Connection - i.e. every Endpoint has its own JMS Connection. -
STAGE
All StageProcessors in each Stage share a common JMS Connection - i.e. every Stage has its own JMS Connection. Depending on the number of Endpoints x Stages in the service, this might lead to pretty many Connections to the broker. -
STAGE_PROCESSOR
Each StageProcessor has its own JMS Connection - i.e. no sharing. This might lead to very many Connections to the broker (Endpoints x Stages x Concurrency)!
-
-
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
-