public class ExpressionSplittingStrategy extends Object implements SplittingStrategy<Event,Iterator<org.mule.runtime.api.metadata.TypedValue<?>>>
SplittingStrategy implementation that splits based on an expression.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SPIT_EXPRESSION |
| Constructor and Description |
|---|
ExpressionSplittingStrategy(ExpressionManager expressionManager)
Creates a new
ExpressionSplittingStrategy and uses as default the #[payload] expression |
ExpressionSplittingStrategy(ExpressionManager expressionManager,
String expression)
Creates a new
ExpressionSplittingStrategy |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
boolean |
hasDefaultExpression() |
Iterator<org.mule.runtime.api.metadata.TypedValue<?>> |
split(Event event) |
public static final String DEFAULT_SPIT_EXPRESSION
public ExpressionSplittingStrategy(ExpressionManager expressionManager, String expression)
ExpressionSplittingStrategyexpressionManager - expression manager to use to evaluate the expressionexpression - the expression to use to split and get a collection of itemspublic ExpressionSplittingStrategy(ExpressionManager expressionManager)
ExpressionSplittingStrategy and uses as default the #[payload] expressionexpressionManager - expression manager to use to evaluate the expressionpublic Iterator<org.mule.runtime.api.metadata.TypedValue<?>> split(Event event)
split in interface SplittingStrategy<Event,Iterator<org.mule.runtime.api.metadata.TypedValue<?>>>public boolean hasDefaultExpression()
public String getExpression()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.