Pasquale Congiusti created CAMEL-16755:
------------------------------------------
Summary: 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
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)