use of org.mule.runtime.app.declaration.api.fluent.ParameterObjectValue in project mule by mulesoft.
the class InfrastructureElementModelDelegate method createStreamingStrategy.
private void createStreamingStrategy(ParameterValue value, ParameterModel parameterModel, DslElementSyntax paramDsl, InternalComponentConfiguration.Builder parentConfig, DslElementModel.Builder parentElement) {
ParameterObjectValue objectValue = (ParameterObjectValue) value;
checkArgument(!isBlank(objectValue.getTypeId()), "Missing declaration of which streaming strategy to use");
String namespace = eeStreamingStrategies.contains(objectValue.getTypeId()) ? EE_PREFIX : CORE_PREFIX;
cloneDeclarationToElement(parameterModel, paramDsl, parentConfig, parentElement, objectValue, objectValue.getTypeId(), namespace);
}
Aggregations