0 Replies Latest reply on Nov 6, 2014 4:45 AM by mkothari19

    Unable to create loadbalacer server in Jboss Fuse

    mkothari19

      Hi,

      I am very new in Jboss Fuse Fabric.I am trying to create loadbalacer server in Jboss Fuse Fabric 6.1.0.I created simple Hello word application below is the camel-context information.Can some one please let me know the step to create load balance server and deploy the application?

       

       

      <?xml version="1.0" encoding="UTF-8"?>

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"

             xmlns:camel="http://camel.apache.org/schema/blueprint"

             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

             xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd

             http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">

      <!-- <beans xmlns="http://www.springframework.org/schema/beans"

             xmlns:camel="http://camel.apache.org/schema/spring"

             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

             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 trace="false" xmlns="http://camel.apache.org/schema/blueprint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

          <route id="HelloWorldRoute">

              <description>&lt;camelContext trace="false" xmlns="http://camel.apache.org/schema/blueprint"&gt;</description>

              <from uri="jetty:http://0.0.0.0:8888/hellocamel"/>

              <transform>

                  <language language="simple">Hello ${body}</language>

              </transform>

          </route>

      </camelContext>

      <!-- </beans> -->

      </blueprint>

       

      Thanks

       

      Regards,

      Maneesh