Hi See this FAQ http://camel.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html
You should re-use the producer template, not create a new one for each message. On Mon, Dec 12, 2011 at 5:55 PM, metebalci <meteba...@gmail.com> wrote: > > Hello, > > I have a seda queue configured like from("seda:abc").loadBalance(5 bean > handlers) > > Is it normal that camelContext.createProducerTemplate().sendBody("seda:abc", > payload) takes 0.5ms per message, e.g. 1000ms for 2000 messages ? Is there > any way to improve this ? > > Thanks. > > Mete > > -- > View this message in context: > http://camel.465427.n5.nabble.com/seda-queue-performance-tp5068914p5068914.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/