You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/01/17 20:28:00 UTC

[jira] [Updated] (CAMEL-20340) camel dependency list throws Exception when running yaml dsl

     [ https://issues.apache.org/jira/browse/CAMEL-20340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-20340:
--------------------------------
    Priority: Minor  (was: Major)

> camel dependency list throws Exception when running yaml dsl
> ------------------------------------------------------------
>
>                 Key: CAMEL-20340
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20340
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.3.0
>            Reporter: Claudio Miranda
>            Priority: Minor
>
> The "camel dependency list" worked nice with java dsl, but the yaml dsl throws an error
> {code:java}
> Caused by: java.lang.ClassCastException: class org.apache.camel.main.stub.StubDataFormat cannot be cast to class org.apache.camel.component.jacksonxml.JacksonXMLDataFormat (org.apache.camel.main.stub.StubDataFormat is in unnamed module of loader 'app'; org.apache.camel.component.jacksonxml.JacksonXMLDataFormat is in unnamed module of loader org.apache.camel.main.download.DependencyDownloaderClassLoader @4a8a60bc)
> {code}
> The yaml route
> {code:java}
> - route:
>     from:
>       uri: rest:post:/
>       steps:
>         - unmarshal:
>             jackson-xml:
>               unmarshalType: java.util.Map
>         - to:
>             uri: log:info
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)