Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3241

Camel Routes Are Not Being Rendered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.1.GA
    • integration-platform
    • None
    • Hide

      Create a camel xml file as simple as follows:

      <?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.

      Show
      Create a camel xml file as simple as follows: <?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.
    • NEW

    Description

      If you open an XML file with multiple Camel routes defined, only the first route is rendered in "Design" view/mode.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Argo_Integration Travis North (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: