Re: ActiveMQ Sending Performance

2007-11-19 Thread andriy_heikal
geConsumer consumer = sess.createConsumer(destination); >> > conn.start(); >> > int counter = 1; >> > while(true) { >> > Message msg = consumer.receive(1000); >> > if (msg == null) break; >> >

Re: ActiveMQ Sending Performance

2007-11-19 Thread James Strachan
> > int counter = 1; > > while(true) { > > Message msg = consumer.receive(1000); > > if (msg == null) break; > > if (msg instanceof TextMessage) { > > TextMessage txtmsg = (TextMessage) msg; > >

Re: ActiveMQ Sending Performance

2007-11-19 Thread Vinod Venkatraman
> =========== > What my concern is sender performance, for 5000 messages takes 135sec or > 37msg/sec but receiver performance is very good at 2500msg/sec. My > question is why it so be different, I guess my code is wrong. > Can anybody help me solved this problem? > > Regards, > > Heikal > > > -- View this message in context: http://www.nabble.com/ActiveMQ-Sending-Performance-tf4833383s2354.html#a13830613 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ Sending Performance

2007-11-18 Thread andriy_heikal
t 2500msg/sec. My question is why it so be different, I guess my code is wrong. Can anybody help me solved this problem? Regards, Heikal -- View this message in context: http://www.nabble.com/ActiveMQ-Sending-Performance-tf4833383s2354.html#a13827979 Sent from the ActiveMQ - User mailing list archive at Nabble.com.