You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Steve973 <st...@gmail.com> on 2021/10/13 12:40:41 UTC

Camel REST DSL json deserialization

Hello.  I was wondering if it is possible to deserialize subclasses in the
REST DSL, either with the JSON binding method, or with JSON unmarshaling.
I have an interface, and messages that are posted to an endpoint should all
deserialize/unmarshal to implementations of this interface.  Then, I would
like to process valid requests, or return a bad request error if a request
is bad or unrecognized.

Thanks,
Steve