camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-815) support to set the loadBalancerStrategy before the outputs
Date Tue, 12 Aug 2008 13:58:54 GMT
support to set the loadBalancerStrategy before the outputs
----------------------------------------------------------

                 Key: CAMEL-815
                 URL: https://issues.apache.org/activemq/browse/CAMEL-815
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.4.0, 1.3.0
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 1.5.0


Current  Camel only support the set the LoadBalancer Strategy after the outputs like this


{code:language=xml}
<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>
{code}

It should be much better with the below configuration file

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

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


Mime
View raw message