@MinMuleVersion(value="4.4") public @interface Binding
ValueProvider or a
SampleDataProvider to an extraction expression. This way, the provider can take care of
the acquisition of the acting parameter, and it can be reused among other components which hold the acting parameter on
different parameters, or fields.| Modifier and Type | Required Element and Description |
|---|---|
String |
actingParameter |
String |
extractionExpression
Gets the expression used to get the acting part of the component whose value is taken for the provider acting parameter.
|
public abstract String actingParameter
ValueProvider or
SampleDataProvider that is annotated with the
Parameter annotation.public abstract String extractionExpression
{
"routingInfo": {
"channelId": "CHANNEL_ID_VALUE",
"region": "SOUTH"
}
"message": "The message to send"
}
The extractionExpression for using the "channelId" field as acting parameter is "body.routingInfo.channelId".
No aggregations between parameters are allowed.
The extraction expression result will be taken as application/java. No other media type is supported for the output.
If the value for this attribute is the name of a component parameter, it means that the value of the acting parameter, is
that of the whole parameter.Copyright © 2022. All rights reserved.