RestEasy JSON ObjectMapper with SwitchYard

Solution In Progress - Updated -

Issue

Our Switchyard project consumes an external REST service which returns JSON, and the elements of the JSON work with Polymorphic Subtypes. We need to use a custom ObjectMapper, similar as shown in this KBase article. How can I configure Switchyard's RestEasy client to support this customization?

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In