Contact Free trial Login

p

p(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.

The p function returns a null value if the property is not set or if the function does not find the property.

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