public final class TargetReturnDelegate extends AbstractReturnDelegate
AbstractReturnDelegate which evaluates the targetValue expressions and sets the output as
a variable which key is taken from the target field.
The original message payload is not modified.
AbstractReturnDelegate.ConnectedInputStreamWrappermuleContext| Constructor and Description |
|---|
TargetReturnDelegate(String target,
String targetValue,
org.mule.runtime.api.meta.model.ComponentModel componentModel,
ExpressionManager expressionManager,
CursorProviderFactory cursorProviderFactory,
MuleContext muleContext,
StreamingManager streamingManager) |
| Modifier and Type | Method and Description |
|---|---|
CoreEvent |
asReturnValue(Object value,
ExecutionContextAdapter operationContext)
Adapts the
value into an CoreEvent |
resolveMediaType, toMessagepublic TargetReturnDelegate(String target, String targetValue, org.mule.runtime.api.meta.model.ComponentModel componentModel, ExpressionManager expressionManager, CursorProviderFactory cursorProviderFactory, MuleContext muleContext, StreamingManager streamingManager)
target - the name of the variable in which the output message will be setpublic CoreEvent asReturnValue(Object value, ExecutionContextAdapter operationContext)
ReturnDelegatevalue into an CoreEventvalue - the value to be returnedoperationContext - the ExecutionContextAdapter on which the operation was executedCoreEvent carrying the operation's resultCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.