On Mon, Oct 17, 2011 at 2:52 PM, Gnanaguru S <[email protected]> wrote: > > Hi Claus, It worked . But I am missing indefinite number of files in the > output directory. >
What do you mean by "indefinite number of files .." ? > <?xml version="1.0" encoding="UTF-8"?> > <blueprint > xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > 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"> > <camelContext xmlns="http://camel.apache.org/schema/blueprint" > trace="true"> > > > > <route> > <from uri="file://inputdir/"/> > > <loadBalance> > <roundRobin/> > > <to uri="activemq1:queue:ClusterTest"/> > <to uri="activemq2:queue:ClusterTest"/> > > </loadBalance> > </route> > > <route> > <from uri="activemq1:queue:ClusterTest"/> > <to uri="file://outputdir"/> > </route> > <route> > <from uri="activemq2:queue:ClusterTest"/> > <to uri="file://outputdir"/> > </route> > > </camelContext> > > <bean id="activemq1" > class="org.apache.activemq.camel.component.ActiveMQComponent"> > <property name="brokerURL" value="tcp://10.200.14.164:61616"/> > </bean> > <bean id="activemq2" > class="org.apache.activemq.camel.component.ActiveMQComponent"> > <property name="brokerURL" value="tcp://10.200.208.223:61616"/> > </bean> > > </blueprint> > > > :) :( > > Regards > Guru > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Specifying-different-destinations-using-camel-tp4909674p4909797.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
