[
https://issues.apache.org/jira/browse/KARAF-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nabila Aziz Shifat updated KARAF-7937:
--------------------------------------
Summary: ref in marshal element not allowed (was: unmarshalType in json
element not allowed)
> ref in marshal element not allowed
> ----------------------------------
>
> Key: KARAF-7937
> URL: https://issues.apache.org/jira/browse/KARAF-7937
> Project: Karaf
> Issue Type: IT Help
> Components: karaf
> Affects Versions: 4.4.6
> Reporter: Nabila Aziz Shifat
> Priority: Critical
>
> Hi I have upgraded my camel project from java 8 to Java 11 and camel version
> 2.22.0 to 3.17.0 and deployed in Apache karaf 4.4.6. I have deployed a
> blueprint.xml which is not getting started. The blueprint I have has
> unmarshalType in json element and so it is complaining. How can I upgrade the
> following lines so it is aligned with camel version.
> <dataFormats>
> <json id="json" library="Jackson" prettyPrint="true"
> unmarshalTypeName="com.symcor.gmc.beans.JobDetails" />
> </dataFormats>
>
> {{<marshal ref="json" />}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)