djcoleman commented on issue #4412: URL: https://github.com/apache/camel-quarkus/issues/4412#issuecomment-1386826222
There is more information on the [Camel Quarkus Jackson](https://camel.apache.org/camel-quarkus/2.15.x/reference/extensions/jackson.html) page. Inspired by [this answer on StackOverflow](https://stackoverflow.com/a/33408057), you can add the following to your `RouteBuilder` if not using REST DSL: ``` JacksonDataFormat df = new JacksonDataFormat(); df.setModuleClassNames("com.fasterxml.jackson.datatype.jsr310.JavaTimeModule"); df.setAutoDiscoverObjectMapper(true); ``` Then add `marshal(df)` to your route, for example: ``` from("direct:start").marshal(df).log("${body}"); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org