[
https://issues.apache.org/jira/browse/KARAF-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nabila Aziz Shifat updated KARAF-7937:
--------------------------------------
Description:
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 ref in
json element and so it is complaining. How can I upgrade the marshal tag line
so it is aligned with camel version 3.17.0.
<dataFormats>
<json id="json" library="Jackson" prettyPrint="true"
unmarshalType="com.symcor.gmc.beans.JobDetails" />
</dataFormats>
{{<marshal ref="json" />}}
was:
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" />}}
> 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 ref in
> json element and so it is complaining. How can I upgrade the marshal tag line
> so it is aligned with camel version 3.17.0.
> <dataFormats>
> <json id="json" library="Jackson" prettyPrint="true"
> unmarshalType="com.symcor.gmc.beans.JobDetails" />
> </dataFormats>
>
> {{<marshal ref="json" />}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)