public class MessagePartitionStrategy<T>
extends org.springframework.data.hadoop.store.partition.AbstractPartitionStrategy<T,org.springframework.messaging.Message<?>>
PartitionStrategy
which is used to provide a generic partitioning support using Spring SpEL.Constructor and Description |
---|
MessagePartitionStrategy(org.springframework.expression.Expression expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
Instantiates a new message partition strategy with
EvaluationContext . |
MessagePartitionStrategy(java.lang.String expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
Instantiates a new message partition strategy with
EvaluationContext . |
MessagePartitionStrategy(java.lang.String expression,
org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext,
org.springframework.expression.ExpressionParser expressionParser)
Instantiates a new message partition strategy with
EvaluationContext . |
public MessagePartitionStrategy(org.springframework.expression.Expression expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
EvaluationContext
.expression
- the expressionevaluationContext
- the evaluation contextpublic MessagePartitionStrategy(java.lang.String expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
EvaluationContext
.expression
- the expressionevaluationContext
- the evaluation contextpublic MessagePartitionStrategy(java.lang.String expression, org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext, org.springframework.expression.ExpressionParser expressionParser)
EvaluationContext
.expression
- the expressionevaluationContext
- the evaluation contextexpressionParser
- the expression parser