Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-14803

XML SDK modules do not support reading properties from an external file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • 4.2.0, 4.1.2 (EE Only)
    • sdk
    • Blocker
    • 0
    • SDK 2018-03-28 C3PO, SDK 2018-04-11 Dooku

    Description

      XML SDK modules do not support `<configuration-properties />`, i.e., reading properties from an external file:

      [ERROR] Failed to execute goal org.mule.runtime.plugins:mule-extensions-maven-plugin:1.1.1:extension-model (default-extension-model) on project user-claims-token-extension: Execution default-extension-model of goal org.mule.runtime.plugins:mule-extensions-maven-plugin:1.1.1:extension-model failed: Couldn't find configuration property value for key ${log} from properties provider environment properties provider -> [Help 1]
      

      is caused by

      <mule:logger message="Creating user" level="DEBUG" category="${log}" />

      together with

      <mule:configuration-properties file="config.properties" doc:name="Props" />

      The exact same code (minus the `mule` XML namespace) works in a Mule app

      Attachments

        Activity

          People

            juan.fernandez@mulesoft.com Juan Lautaro Fernandez (Inactive)
            alejandro.garcia@mulesoft.com Alejandro Garcia Marra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: