Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

16.16. Using Object Paths

  1. 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.
  2. 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 the java import statements 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.