And the JMS code you written yourself? Do you use persistent messages. If not then that's often a huge performance difference.
On Tue, Oct 25, 2011 at 1:29 PM, ajay.karthik.nn <[email protected]> wrote: > I am using camel 2.8.1 version and i am using ActiveMQ. Here is the peice of > code i am using > > DefaultCamelContext camelContext=new DefaultCamelContext(); > > ConnectionFactory connectionFactory = new > ActiveMQConnectionFactory("tcp://IP:port"); > > camelContext.addComponent("test-jms", > JmsComponent.jmsComponentAutoAcknowledge(connectionFactory)); > > from("file url") > .unmarshal().csv() > //Split the message into a number of pieces > .split(body(List.class)) > .convertBodyTo(A.class) > .to( "test-jms:queue:queueA?maxMessagesPerTask=-1" ); > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Rate-of-messages-sent-to-JMS-tp4935053p4935854.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/
