Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top