Question

I am trying something like the following to concatenate a string and a value returned from a mule expression

 <message-properties-transformer scope="session" doc:name="Set value as SessionVar">
        <add-message-property key="someKeyName" value="'Key ' + #[message.inboundProperties['http.query.params']['value']]"/>
  </message-properties-transformer> 

I've tried other variations, as well, without luck. I'll happily post variations, if needed.

Was it helpful?

Solution

Try and use: #['Key ' + message.inboundProperties['http.query.params']['value']]

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top