Claus,

Please find my code below. As you said, Is this the way to achieve that ?
<route>
    <from uri="file://inputdir/"/>

    <loadBalance>
        <roundRobin/>

*<bean id="activemq1" 
      class="org.apache.activemq.camel.component.ActiveMQComponent">
      <property name="brokerURL" value="tcp://10.200.208.223:61616"/>
   </bean>

        <to uri="activemq:queue:test1"/>*

*<bean id="activemq2" 
      class="org.apache.activemq.camel.component.ActiveMQComponent">
      <property name="brokerURL" value="tcp://10.200.208.224:61616"/>
   </bean>

        <to uri="activemq:queue:test2"/>

<bean id="activemq3" 
      class="org.apache.activemq.camel.component.ActiveMQComponent">
      <property name="brokerURL" value="tcp://10.200.208.225:61616"/>
   </bean>

        <to uri="activemq:queue:test3"/>*

    </loadBalance>
  </route>


Am i right, But the bundle is failed :(

Regards
Guru


--
View this message in context: 
http://camel.465427.n5.nabble.com/Specifying-different-destinations-using-camel-tp4909674p4909701.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to