LoadBalancer xml support
------------------------

                 Key: CAMEL-229
                 URL: https://issues.apache.org/activemq/browse/CAMEL-229
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Willem Jiang
             Fix For: 1.3.0


Now you can figure the loadBalancer through the Spring configuration file.
NOTE:
we get some sequence define here, so I can't put the loadBalancerStrategy 
before the to tag.
So the configuration had to be like this

<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring";>
    <route>
      <from uri="direct:start"/>
      <loadBalance>
          <to uri="mock:x"/>        
          <to uri="mock:y"/>       
          <to uri="mock:z"/>
          <roundRobin/>
      </loadBalance>
    </route>
  </camelContext>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to