You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2007/11/16 23:23:26 UTC

[jira] Updated: (CAMEL-229) LoadBalancer xml support

     [ https://issues.apache.org/activemq/browse/CAMEL-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-229:
-------------------------------

    Attachment: camel-229.patch

Added a bunch of type class to support configure loadBalance in Spring configuration file.

> 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
>
>         Attachments: camel-229.patch
>
>
> 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.