[
https://issues.apache.org/jira/browse/KARAF-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914506#comment-17914506
]
Nabila Aziz Shifat commented on KARAF-7937:
-------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://camel.apache.org/schema/blueprint
http://camel.apache.org/schema/blueprint/camel-blueprint-3.17.0.xsd
http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd">
> 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
> Assignee: Jean-Baptiste Onofré
> 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)