activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten_D <maarten.dir...@gmail.com>
Subject Re: Slow sending of messages
Date Tue, 16 Feb 2010 16:11:01 GMT

Hi Adrian,
Have you made any progress on this issue? I believe I'm running into the
same things occasionally.
Regards,
Maarten


Adrian A wrote:
> 
> Setting them to MapMessages (what I am using) makes it even worse:
> 
> //TextMessage message = session.createTextMessage(createMessageText(i));
> MapMessage message  = session.createMapMessage();
> message.setJMSType("blahasdadasdsd");
>             message.setLong("test1",2222);
>             message.setLong("test2",2222);
>             message.setLong("test3",2222);
>             message.setLong("test4",2222);
>             message.setLong("test5",2222);
> 
> by 10 to 20 times worse.
> 
> 
> Adrian A wrote:
>> 
>> long start = System.currentTimeMillis();
>> producer.send(message);
>> long stop = System.currentTimeMillis();
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Slow-sending-of-messages-tp26849964p27610689.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message