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

Camel Routes Are Not Being Rendered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.0
    • JBDS(IS) Integration
    • None
    • Hide

      Create a camel xml file as simple as follows:

      Bar.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <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">
       
      	<camelContext xmlns="http://camel.apache.org/schema/spring">
          <route>
              <from uri="timer://foo1?fixedRate=true&amp;period=60000"/>
              <log message="foo1 fired"/>
          </route>
          <route>
              <from uri="timer://foo2?fixedRate=true&amp;period=60000"/>
              <log message="foo2 fired"/>
          </route>
      </camelContext>
      </beans>
      

      Then select the 'Design' tab; you'll note that only the first route is rendered.
      CDW release:? last edit by cdw-engine

      Show
      Create a camel xml file as simple as follows: Bar.xml <?xml version= "1.0" encoding= "UTF-8" ?> <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"> <camelContext xmlns= "http: //camel.apache.org/schema/spring" > <route> <from uri= "timer: //foo1?fixedRate= true &amp;period=60000" /> <log message= "foo1 fired" /> </route> <route> <from uri= "timer: //foo2?fixedRate= true &amp;period=60000" /> <log message= "foo2 fired" /> </route> </camelContext> </beans> Then select the 'Design' tab; you'll note that only the first route is rendered. CDW release:? last edit by cdw-engine

          lheinema@redhat.com Lars Heinemann
          davidjohnson_jira David Johnson (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: