-
Sub-task
-
Resolution: Unresolved
-
Major
-
8.0.0
-
None
-
Sprint 2, 8.0.0 - Sprint 1, 8.0.0 - CR1
org.jboss.tools.fuse.transformation.camel.CamelConfigBuilderIT.createBlueprintConfig()
expecting:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext id="test-defined-id" xmlns="http://camel.apache.org/schema/blueprint">
<endpoint id="xml2json" uri="dozer:xml2json?sourceModel=abcorder.ABCOrder&targetModel=xyzorderschema.XyzOrderSchema&marshalId=transform-json&unmarshalId=abcorder&mappingFile=dozerBeanMapping.xml"/>
<dataFormats>
<jaxb contextPath="abcorder" id="abcorder"/>
<json id="transform-json" library="Jackson"/>
</dataFormats>
<route>
<from uri="file:/tmp/inbox?fileName=abc-order.xml"/>
<to uri="file:/tmp/outbox?fileName=xyz-order.json"/>
</route>
</camelContext>
</blueprint>
but the reference is:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext autoStartup="true" id="test-defined-id"
streamCache="false" xmlns="http://camel.apache.org/schema/blueprint">
<endpoint id="xml2json" uri="dozer:xml2json?sourceModel=abcorder.ABCOrder&targetModel=xyzorderschema.XyzOrderSchema&marshalId=transform-json&unmarshalId=abcorder&mappingFile=dozerBeanMapping.xml"/>
<dataFormats>
<jaxb contextPath="abcorder" id="abcorder"/>
<json id="transform-json" library="Jackson"/>
</dataFormats>
<route>
<from uri="file:/tmp/inbox?fileName=abc-order.xml"/>
<to uri="file:/tmp/outbox?fileName=xyz-order.json"/>
</route>
</camelContext>
</blueprint>
So two attributes at camel Context level are missing.
In xsd (http://camel.apache.org/schema/blueprint/camel-blueprint-2.16.1.xsd), there is no defautl value defined which can explain that (<xs:attribute name="autoStartup" type="xs:string"/>)
Is it an intentional modification?