Details
-
Bug
-
Resolution: Done
-
Major
-
fuse-7.x-GA
-
None
Description
I hit a problem, when creating mapping with expression with Filter and Select, which caused camel route using generated mapping not to work correctly.
This is the current state of the output mapping expression format:
"expression" : "SELECT(FILTER(${sourceArrays:/jsonObjects<>},${sourceArrays:/jsonObjects<>/key}>4),${sourceArrays:/jsonObjects<>/value})",
According to this comment, the format should look like this (changing it to this format also seems to work in camel route):
"expression" : "SELECT(FILTER(${sourceArrays:/jsonObjects<>},${/key}>4),${/value})",