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

Hawtio console does not show multiple Camel Context in the Camel Tree

XMLWordPrintable

    • % %
    • Hide
      • Place the attached "myCamelContext.xml" File inside the "jboss-fuse-6.1.0.redhat-379/deploy" directory. Which looks like following:
        <?xml version="1.0" encoding="UTF-8"?>
        <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        
        	<camelContext trace="false" id="ContextOne" xmlns="http://camel.apache.org/schema/blueprint">
                       <route>
        		  <from uri="file:///home/jsensharma/Downloads/A" />
        		  <to uri="file:///home/jsensharma/Downloads/B" />
                       </route>
        	</camelContext>
        
        	<camelContext trace="false" id="ContextTwo" xmlns="http://camel.apache.org/schema/blueprint">
                       <route>
        		  <from uri="file:///home/jsensharma/Downloads/C" />
        	     	  <to uri="file:///home/jsensharma/Downloads/D" />
                       </route>
        	</camelContext>
        </blueprint>
        
      • Start the "jboss-fuse-6.1.0.redhat-379" normally using "./fuse" script.
      • Access the Hawtio console and then navigate to Camel Tree. It can be noticed that only one camel context is visible there.
      Show
      Place the attached "myCamelContext.xml" File inside the "jboss-fuse-6.1.0.redhat-379/deploy" directory. Which looks like following: <?xml version= "1.0" encoding= "UTF-8" ?> <blueprint xmlns= "http: //www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" > <camelContext trace= " false " id= "ContextOne" xmlns= "http: //camel.apache.org/schema/blueprint" > <route> <from uri= "file: ///home/jsensharma/Downloads/A" /> <to uri= "file: ///home/jsensharma/Downloads/B" /> </route> </camelContext> <camelContext trace= " false " id= "ContextTwo" xmlns= "http: //camel.apache.org/schema/blueprint" > <route> <from uri= "file: ///home/jsensharma/Downloads/C" /> <to uri= "file: ///home/jsensharma/Downloads/D" /> </route> </camelContext> </blueprint> Start the "jboss-fuse-6.1.0.redhat-379" normally using "./fuse" script. Access the Hawtio console and then navigate to Camel Tree. It can be noticed that only one camel context is visible there.

      • When multiple Camel Contexts are deployed on the JBoss Fuse 6.1 then the Hawtio console is not able to display all those camel contexts in the Camel Tree. Rather only one camel context is displayed.

        1. Camel_Tree_Issue_Hawtio_Console.png
          68 kB
          Jay SenSharma
        2. FireFox_27.0.1.png
          84 kB
          Jay SenSharma
        3. MissingCamelContext.png
          729 kB
          Jason Sherman
        4. MissingCamelContext2.png
          804 kB
          Jason Sherman
        5. MissingMbeanRouteInfo.png
          147 kB
          Jason Sherman
        6. Multiple_CamelContexts.png
          271 kB
          Jason Sherman
        7. myCamelContext.xml
          0.7 kB
          Jay SenSharma
        8. two-camel-contexts.png
          21 kB
          Grzegorz Grzybek

              ggrzybek Grzegorz Grzybek
              jaysensharma Jay SenSharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: