Camel extensions for Quarkus: REST endpoint fails with "java.time.LocalDate not supported by default"
Issue
A REST endpoint in a Camel route on Quarkus throws this exception when Jackson tries to convert a JSON data field to a Java date/time type:
"Java 8 date/time type `java.time.LocalDate` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
Adding the dependency for jackson-datatype-jsr310 does not help.
Environment
- Red Hat Camel Extensions for Quarkus
- 2.10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.