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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.