geConsumer consumer = sess.createConsumer(destination);
>> > conn.start();
>> > int counter = 1;
>> > while(true) {
>> > Message msg = consumer.receive(1000);
>> > if (msg == null) break;
>> >
> > int counter = 1;
> > while(true) {
> > Message msg = consumer.receive(1000);
> > if (msg == null) break;
> > if (msg instanceof TextMessage) {
> > TextMessage txtmsg = (TextMessage) msg;
> >
> ===========
> 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.
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.