Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2102

The Camel -> Source Tab Does Not Render Parameterized Values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • jboss-fuse-6.1
    • Hawtio
    • None
    • % %
    • Hide

      Deploy any Camel route that uses properties as part of the <from> URI, as illustrated in the description, to a Fabric container, then view its source code via the Camel -> Source tab.

      Show
      Deploy any Camel route that uses properties as part of the <from> URI, as illustrated in the description, to a Fabric container, then view its source code via the Camel -> Source tab.

    Description

      When you select the Camel -> Source tab to view the source code for a route, the resulting XML includes the parameterized values for the <to> URI endpoints, but not for the <from> URI endpoints. For example, given the following route:

      <camelContext xmlns="http://camel.apache.org/schema/blueprint">		  
       <route>			
          <from uri="timer:{{fromTimer}}"/> 
      	<setBody>
                <method ref="helloBean" method="hello" />
      	</setBody>
          <log message="The message contains ${body}" />
          <to uri="mock:{{destination}}"/>
        </route>
      </camelContext>
      

      The rendered source code is:

      <route xmlns="http://camel.apache.org/schema/spring" id="route1">
       <from uri="timer:{{fromTimer}}"/>
        <setBody>
         <method ref="helloBean" method="hello"/>
        </setBody>
       <log message="The message contains ${body}"/>
       <to uri="mock:end"/>
      </route>
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: