You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pasquale Congiusti (Jira)" <ji...@apache.org> on 2021/06/24 09:38:00 UTC
[jira] [Assigned] (CAMEL-16755) camel-jackson: cannot resolve
unmarshal type
[ https://issues.apache.org/jira/browse/CAMEL-16755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pasquale Congiusti reassigned CAMEL-16755:
------------------------------------------
Assignee: Pasquale Congiusti
> camel-jackson: cannot resolve unmarshal type
> --------------------------------------------
>
> Key: CAMEL-16755
> URL: https://issues.apache.org/jira/browse/CAMEL-16755
> Project: Camel
> Issue Type: Bug
> Reporter: Pasquale Congiusti
> Assignee: Pasquale Congiusti
> Priority: Major
>
> When we use the component trying to unmarshal such as in the following route:
> {code}
> public void configure() throws Exception {
> from("direct:unmarshal").unmarshal().json(JsonLibrary.Jackson, User.class).to("direct:logger");
> ...
> }
> static class User {...}
> {code}
> The following piece of code is returning null due to missing class in the classloader: https://github.com/apache/camel/blob/main/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java#L512
> This is happening when you have routes dynamically loaded such as in the case of camel-k.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)