此内容没有您所选择的语言版本。
16.16. Using Object Paths
- Set the object-paths property to extract those objects with an
ESB Message Object Path.Note
You can use the object-paths property to drill down further into object trees. Do so by setting this property to extract those objects with an ESB Message Object Path. - The JBoss Rules engine uses the MVFLEX Expression Language (MVEL) to extract the object. Your path must abide by this syntax:
location.objectname.[beanname].[beanname]...
location.objectname.[beanname].[beanname]...Copy to Clipboard Copied! Toggle word wrap Toggle overflow Important
Remember to add thejava importstatements to any objects that you import into your rule set.Note
The Object Mapper cannot "flatten out" entire collections. If you need to do that, run a "transformation" process on the message first, as this "unrolls" the collection.