public class SplitPayloadUtils extends Object
| Constructor and Description |
|---|
SplitPayloadUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<org.mule.runtime.api.metadata.TypedValue<?>> |
split(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.api.metadata.TypedValue<?> payload)
Splits a payload handling its media type and the needed expressions automatically.
|
static Iterator<org.mule.runtime.api.metadata.TypedValue<?>> |
split(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage,
org.mule.runtime.api.metadata.TypedValue<?> payload,
String previousExpression)
Splits a payload handling its media type and the needed expressions automatically.
|
public static Iterator<org.mule.runtime.api.metadata.TypedValue<?>> split(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage, org.mule.runtime.api.metadata.TypedValue<?> payload)
expressionLanguage - The instance of the expression language to use.payload - The payload to split.public static Iterator<org.mule.runtime.api.metadata.TypedValue<?>> split(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage, org.mule.runtime.api.metadata.TypedValue<?> payload, String previousExpression)
expressionLanguage - The instance of the expression language to use.payload - The payload to split.previousExpression - An expression provided by the user that will be pointed to if the split fails to provide better
error context.Copyright © 2021. All rights reserved.