16.16. Using Object Paths
- Set the object-paths property to extract those objects with an
ESB Message Object Path.
NoteYou 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:
ImportantRemember to add the
java importstatements to any objects that you import into your rule set.
NoteThe 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.