Reputation: 21
I want to use the Mule Expression Language to send two input parameters to an API (ex: CodePostal and LibelleVoie). I do that :
But it does not work, it returns me a String
have you an idea please ?
Upvotes: 1
Views: 2048
Reputation: 546
You have to write everything in one MEL expression:
#[payload[1].getAdresseNonNormalisee().getObjetAttributs().getCodePostal() &&
payload[1].getAdresseNonNormalisee().getObjetAttributs().getLibelleVoie()]]
You used two expressions with some String in between: " && "
Upvotes: 3