Mule ESB DataMapper: Aggregation of field conditional to field type
问题 Mule ESB DataMapper: Aggregation of field conditional to field type I have the following structures: Strcuture A: <itemlist> <item> <id>123</id> <price>1</price> <quantity>1</quantity> <type>AAA</type> </item> <item> <id>124</id> <price>2</price> <quantity>1</quantity> <type>BBB</type> </item> <item> <id>125</id> <price>3</price> <quantity>1</quantity> <type>BBB</type> </item> <itemlist> Structure B: <totals> <total> <totalPrice>3</totalPrice> </total> </totals> If I want a sumation of all