philschaller opened a new issue #637: Unmarshalling with Jackson in multiple routes with different classes URL: https://github.com/apache/camel-quarkus/issues/637 **Describe the bug** Camel unmarshalling uses only one class for all routes instead of the programmatically configured ones as used in the following line: `unmarshal().json(JsonLibrary.Jackson, POJO_1.class)` Calling unmarhal() in a different route (same RouteBuilder or not does not matter) with POJO_2 leads to Jackson exceptions because it expects POJO_1. **Expected behavior** Isolated unmarshalling for all routes and invocations. Works with Camel 2.x (without Quarkus). **Workaround** Manually unmarshalling with Jackson ObjectMapper. `process((exchange) -> { POJO body = new ObjectMapper().readValue(exchange.getIn().getBody(String.class), POJO.class); });` **Environment** Camel Quarkus 1.0.0-M2 JDK 11
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
