如何在MuleExpression中访问此hashmap值“ id”以将其与queryparam进行比较?

时间:2019-10-11 13:57:58

标签: mule mule-studio anypoint-studio dataweave mule-esb

我的流中有一个哈希映射有效负载,我想将其“ id”键与“ id” queryparameter进行比较,以使用选择路由器转到特定的流。如何在MuleExpression for Choice路由器中赋予这种条件?

以下是哈希图有效负载:hashmap payload containing 4 records

1 个答案:

答案 0 :(得分:2)

#[ payload.id == message.inboundProperties.'http.query.params'.id ]