java - Choice in Mule Flow -


i trying divide flow according data present in map, formed after using mule transformer xmlmapper , xml map..

i have tried many ways.. 1 of them present in mule site was..

 <choice>  <when expression="#[message.payload['interface_id'] == 'bk131108.1655.000698']" evaluator="map-payload">      <processor-chain doc:name="processor chain">   </when>  </choice> 

but won't work. help???

remove:

evaluator="map-payload" 

you forcing use of old expression evaluation framework while providing mel expression.

after removing it, , if message payload map contains "interface_id" key, expression should work.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -