p

p(propertyName: String): String

This function returns a string that identifies the value of one of these input properties: Mule property placeholders, System properties, or Environment variables.

For more on this topic, see Configure Properties.

Parameters

Name Description

propertyName

A string that identifies property.

Example

This example logs the value of the property http.port in a Logger component.

Source

<flow name="simple">
 <logger level="INFO" doc:name="Logger"
   message="#[Mule::p('http.port')]"/>
</flow>

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub