Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1729

Wrongly identified problem with not endpoint route children having attribute that are not of String type

    XMLWordPrintable

Details

    Description

      If I try to open the following Camel context file with Camel Editor, there is a problem with Unmarshal component in Problems view

      Parameter dataFormatType is a mandatory field and cannot be empty. Please check the properties view for more details.
      

      but Data Format Type is set.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <!-- Sample of camel-context.xml for Regression test ... issue FUSETOOLS-674 -->
      
      <beans xmlns="http://www.springframework.org/schema/beans"
      	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring"
      	xsi:schemaLocation="
             http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
             http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
      
      	<camel:camelContext xmlns="http://camel.apache.org/schema/spring">
      		<route id="cxfIngangRoute">
      			<from uri="direct:cxf" />
      			<onException>
      				<exception>org.apache.camel.component.bean.validator.BeanValidationException</exception>
      				<redeliveryPolicy maximumRedeliveries="2" />
      				<handled>
      					<constant>true</constant>
      				</handled>
      				<to uri="direct:violations" />
      				<to uri="xslt:nl/hetcak/exporttrigger/xslt/createNokResponse.xsl" />
      			</onException>
      			<to uri="xslt:nl/hetcak/exporttrigger/xslt/Bi2Bc03ProcesRequest.xsl" />
      			<unmarshal>
      				<jaxb contextPath="nl.hetcak.exporttrigger.domain"
      					partClass="nl.hetcak.exporttrigger.domain.BC03ProcesRequest" />
      			</unmarshal>
      			<to uri="direct:validation" />
      			<to uri="direct:queue" />
      			<transform>
      				<language language="simple">&lt;message&gt;dummy&lt;/message&gt; </language>
      			</transform>
      			<to uri="xslt:nl/hetcak/exporttrigger/xslt/createResponse.xsl" />
      		</route>
      	</camel:camelContext>
      </beans>
      

      Attachments

        Issue Links

          Activity

            People

              apupier@redhat.com Aurélien Pupier
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: