I am working on a mule project where all my configurations are stored in a central repository, and at run-time am downloading the configuration and deploying it.
<script:component doc:name="Script">
<script:script engine="groovy">
<![CDATA[
String endpnt = reqUrl.prepareFile(requestUrl);
message.setProperty('endpnt', endpnt,org.mule.api.transport.PropertyScope.INVOCATION);
message.setProperty('port', reqUrl.getPort(),org.mule.api.transport.PropertyScope.INVOCATION);
]]>
</script:script>
</script:component>
The above script downloads the file and makes an entry in mule-deploy.properties
against config.resources
. I have already set redeployment.enabled=true
, but still the endpoint is not available to consume, Please help