Show Table of Contents
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]...
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.